summaryrefslogtreecommitdiff
path: root/usr.bin/who
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 01:22:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-07-18 01:22:17 +0000
commit3caa70922e50b8e238de690abee2f8a63d25d485 (patch)
tree69f3ee04d0f0b98462d53491c733d9ec7a92556f /usr.bin/who
parentf21eb28a81527a304e8ec9de351af5386a318feb (diff)
indent
Diffstat (limited to 'usr.bin/who')
-rw-r--r--usr.bin/who/who.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c
index 9043fc3f148..4d57162e315 100644
--- a/usr.bin/who/who.c
+++ b/usr.bin/who/who.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: who.c,v 1.6 1997/08/20 05:37:21 denny Exp $ */
+/* $OpenBSD: who.c,v 1.7 1999/07/18 01:22:16 deraadt Exp $ */
/* $NetBSD: who.c,v 1.4 1994/12/07 04:28:49 jtc Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)who.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: who.c,v 1.6 1997/08/20 05:37:21 denny Exp $";
+static char rcsid[] = "$OpenBSD: who.c,v 1.7 1999/07/18 01:22:16 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -232,7 +232,7 @@ output(up)
if (now == 0)
time(&now);
- strncpy (line, up->ut_line, sizeof (up->ut_line));
+ strncpy(line, up->ut_line, sizeof (up->ut_line));
line[sizeof (up->ut_line)] = '\0';
if (stat(line, &sb) == 0) {