aboutsummaryrefslogtreecommitdiff
path: root/libexec/rlogind
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1999-08-21 20:54:40 +0000
committerWarner Losh <imp@FreeBSD.org>1999-08-21 20:54:40 +0000
commit7d773433a7eff3e20e46977dfe19652fc9454852 (patch)
tree52ef259a44103556bd7adc8cd2fbe476893a7050 /libexec/rlogind
parent7ad5a72536a3948540c47b0a450b04d5cc08a77d (diff)
Notes
Diffstat (limited to 'libexec/rlogind')
-rw-r--r--libexec/rlogind/rlogind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rlogind/rlogind.c b/libexec/rlogind/rlogind.c
index 866cbb086b48..70febc0b9ebb 100644
--- a/libexec/rlogind/rlogind.c
+++ b/libexec/rlogind/rlogind.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id: rlogind.c,v 1.23 1999/04/25 22:23:37 imp Exp $";
+ "$Id: rlogind.c,v 1.24 1999/08/21 18:15:55 imp Exp $";
#endif /* not lint */
/*
@@ -549,11 +549,11 @@ cleanup(signo)
p = line + sizeof(_PATH_DEV) - 1;
if (logout(p))
logwtmp(p, "", "");
- (void)cflags(line, 0);
+ (void)chflags(line, 0);
(void)chmod(line, 0666);
(void)chown(line, 0, 0);
*p = 'p';
- (void)cflags(line, 0);
+ (void)chflags(line, 0);
(void)chmod(line, 0666);
(void)chown(line, 0, 0);
shutdown(netf, 2);