Spell 1 as SHUT_WR in argument to shutdown(2).

This commit is contained in:
Juli Mallett 2005-05-11 02:49:03 +00:00
parent bf6b7d84fd
commit e8b92d55b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146078

View File

@ -222,7 +222,7 @@ main(int argc, char *argv[])
err(1, "fork");
}
else
(void)shutdown(rem, 1);
(void)shutdown(rem, SHUT_WR);
(void)ioctl(rfd2, FIONBIO, &one);
(void)ioctl(rem, FIONBIO, &one);
@ -277,7 +277,7 @@ rewrite:
goto reread;
goto rewrite;
done:
(void)shutdown(rem, 1);
(void)shutdown(rem, SHUT_WR);
exit(0);
}