summaryrefslogtreecommitdiffstats
path: root/libexec/rlogind/rlogind.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2005-05-11 02:43:04 +0000
committerjmallett <jmallett@FreeBSD.org>2005-05-11 02:43:04 +0000
commitf0d513b44e4de0e2ed8868a35af28fbba60e7125 (patch)
treeaa1179a213bfb43ff63bd69dbbcd2edf3a8fdc64 /libexec/rlogind/rlogind.c
parent72198c2a2f0a183cc57560c351004e07ea479674 (diff)
downloadFreeBSD-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/rlogind.c')
-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 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);
}
OpenPOWER on IntegriCloud