summaryrefslogtreecommitdiff
path: root/usr.bin/rusers
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-05 21:41:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-02-05 21:41:08 +0000
commit2a2c5171f2b12847954c83ad6f317169c04819cc (patch)
treeda90b966a1065754cc2ed0b917022517f2cb02ca /usr.bin/rusers
parent6ab25570e859427d4370c0559a02a701b8986f87 (diff)
default to 8 wide for user names
Diffstat (limited to 'usr.bin/rusers')
-rw-r--r--usr.bin/rusers/rusers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rusers/rusers.c b/usr.bin/rusers/rusers.c
index d4e25ca24c4..f9a319b002f 100644
--- a/usr.bin/rusers/rusers.c
+++ b/usr.bin/rusers/rusers.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rusers.c,v 1.9 2001/01/31 19:48:06 deraadt Exp $ */
+/* $OpenBSD: rusers.c,v 1.10 2001/02/05 21:41:07 deraadt Exp $ */
/*-
* Copyright (c) 1993 John Brezak
@@ -29,7 +29,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: rusers.c,v 1.9 2001/01/31 19:48:06 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rusers.c,v 1.10 2001/02/05 21:41:07 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -165,7 +165,7 @@ rusers_reply(char *replyp, struct sockaddr_in *raddrp)
sizeof (local) - strlen (local) - 1);
local[sizeof (local) - 1] = 0;
-#define MAXNAME 16
+#define MAXNAME 8
printf("%-*.*s %-*.*s %-12.12s %8s %.18s\n",
MAXNAME, UT_NAMESIZE,
up->uia_arr[x]->ui_utmp.ut_name,