mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
This commit is contained in:
parent
5aae7838e7
commit
ed3836bb08
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue