summaryrefslogtreecommitdiff
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2006-05-02 05:25:20 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2006-05-02 05:25:20 +0000
commit487efbb44cb01ebfbd54519634765c5d50493cfb (patch)
tree18789d3058291f28b4583214dab5f8e0987494eb /bin/ps/keyword.c
parent2713925c7a07f68416722d8a72ce97465591a7e2 (diff)
Format nicelevel relative NZERO as other tools do.
Surely, says millert.
Diffstat (limited to 'bin/ps/keyword.c')
-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 cef2b643a4c..b3a967a7810 100644
--- a/bin/ps/keyword.c
+++ b/bin/ps/keyword.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keyword.c,v 1.23 2004/09/14 23:45:14 deraadt Exp $ */
+/* $OpenBSD: keyword.c,v 1.24 2006/05/02 05:25:19 hugh Exp $ */
/* $NetBSD: keyword.c,v 1.12.6.1 1996/05/30 21:25:13 cgd Exp $ */
/*-
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)keyword.c 8.5 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: keyword.c,v 1.23 2004/09/14 23:45:14 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: keyword.c,v 1.24 2006/05/02 05:25:19 hugh Exp $";
#endif
#endif /* not lint */
@@ -121,7 +121,7 @@ VAR var[] = {
{"msgrcv", "MSGRCV", NULL, USER, pvar, 4, 0, POFF(p_uru_msgrcv), UINT64, "lld"},
{"msgsnd", "MSGSND", NULL, USER, pvar, 4, 0, POFF(p_uru_msgsnd), UINT64, "lld"},
{"ni", "", "nice"},
- {"nice", "NI", NULL, 0, pvar, 2, 0, POFF(p_nice), UINT8, "d"},
+ {"nice", "NI", NULL, 0, pnice, 3},
{"nivcsw", "NIVCSW", NULL, USER, pvar, 5, 0, POFF(p_uru_nivcsw), UINT64, "lld"},
{"nsignals", "", "nsigs"},
{"nsigs", "NSIGS", NULL, USER, pvar, 4, 0, POFF(p_uru_nsignals), UINT64, "lld"},