summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-07-19 14:20:45 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-07-19 14:20:45 +0000
commit029694f2e1e7c31777ef5771aee42880f2e8c58e (patch)
tree61c55a9913bb64278ce7b1cd3fee350b3ded11f5 /bin
parent15e3fc0dc8284ce3a497cbcda26d6a49a4e8e43b (diff)
Fix format bug with ps -o group. ok deraadt@
Diffstat (limited to 'bin')
-rw-r--r--bin/ps/keyword.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c
index 3bebf9813c6..ce8c0c126fe 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.14 2002/02/16 21:27:07 millert Exp $ */
+/* $OpenBSD: keyword.c,v 1.15 2002/07/19 14:20:44 drahn Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: keyword.c,v 1.14 2002/02/16 21:27:07 millert Exp $";
+static char rcsid[] = "$OpenBSD: keyword.c,v 1.15 2002/07/19 14:20:44 drahn Exp $";
#endif
#endif /* not lint */
@@ -107,7 +107,7 @@ VAR var[] = {
{"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT, "x"},
{"flags", "", "f"},
GID("gid", "GID", evar, EOFF(e_ucred.cr_gid)),
- {"group", "GROUP", NULL, 0, gname, USERLEN},
+ {"group", "GROUP", NULL, LJUST, gname, USERLEN},
{"holdcnt", "HOLDCNT", NULL, 0, pvar, 8, 0, POFF(p_holdcnt), INT, "d"},
{"ignored", "", "sigignore"},
{"inblk", "INBLK", NULL, USER, rvar, 4, 0, ROFF(ru_inblock), LONG, "d"},