Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
This commit is contained in:
parent
5aae7838e7
commit
ed3836bb08
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user