From ed3836bb0879aa8eea26f0fed84aa84c7665f609 Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Wed, 11 May 2005 02:43:04 +0000 Subject: [PATCH] Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2). --- libexec/rlogind/rlogind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c index 86948f793f5..366524d877a 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); }