Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).

This commit is contained in:
Juli Mallett 2005-05-11 02:43:04 +00:00
parent 5aae7838e7
commit ed3836bb08

View File

@ -496,7 +496,7 @@ cleanup(int signo)
(void)chflags(line, 0);
(void)chmod(line, 0666);
(void)chown(line, 0, 0);
shutdown(netf, 2);
shutdown(netf, SHUT_RDWR);
exit(1);
}