diff options
author | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:43:04 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2005-05-11 02:43:04 +0000 |
commit | f0d513b44e4de0e2ed8868a35af28fbba60e7125 (patch) | |
tree | aa1179a213bfb43ff63bd69dbbcd2edf3a8fdc64 /libexec/rlogind | |
parent | 72198c2a2f0a183cc57560c351004e07ea479674 (diff) | |
download | FreeBSD-src-f0d513b44e4de0e2ed8868a35af28fbba60e7125.zip FreeBSD-src-f0d513b44e4de0e2ed8868a35af28fbba60e7125.tar.gz |
Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
Diffstat (limited to 'libexec/rlogind')
-rw-r--r-- | libexec/rlogind/rlogind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index 86948f7..366524d 100644 --- a/libexec/rlogind/rlogind.c +++ b/libexec/rlogind/rlogind.c @@ -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); } |