aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2005-05-11 02:43:04 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2005-05-11 02:43:04 +0000
commited3836bb0879aa8eea26f0fed84aa84c7665f609 (patch)
treeaa1179a213bfb43ff63bd69dbbcd2edf3a8fdc64
parent5aae7838e7a0af2293bd9329f99ca7d06a0204f5 (diff)
downloadsrc-ed3836bb0879aa8eea26f0fed84aa84c7665f609.tar.gz
src-ed3836bb0879aa8eea26f0fed84aa84c7665f609.zip
Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
Notes
Notes: svn path=/head/; revision=146075
-rw-r--r--libexec/rlogind/rlogind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index 86948f793f5d..366524d877ad 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);
}