summaryrefslogtreecommitdiff
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2004-03-27 12:44:08 +0000
committersimonb <simonb@NetBSD.org>2004-03-27 12:44:08 +0000
commitabb3201747d6e68345eb06cd659c341f1b791103 (patch)
treee8edcfd741f750c0f93a8227f3c1f38b13e6f0c6 /bin/ps/ps.c
parentcd6c744984d7c9a792244095b6382572c04b7747 (diff)
Wrap some long lines.
Consisently use (void) in front of printf(...); A few more white-space nits.
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index b04644f1a17..c6b38de8ec0 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ps.c,v 1.52 2004/03/27 12:09:28 simonb Exp $ */
+/* $NetBSD: ps.c,v 1.53 2004/03/27 12:44:08 simonb Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: ps.c,v 1.52 2004/03/27 12:09:28 simonb Exp $");
+__RCSID("$NetBSD: ps.c,v 1.53 2004/03/27 12:44:08 simonb Exp $");
#endif
#endif /* not lint */
@@ -141,7 +141,8 @@ char jfmt[] = "user pid ppid pgid sess jobc state tt time command";
char lfmt[] = "uid pid ppid cpu pri nice vsz rss wchan state tt time command";
char o1[] = "pid";
char o2[] = "tt state time command";
-char sfmt[] = "uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt time command";
+char sfmt[] = "uid pid ppid cpu lid nlwp pri nice vsz rss wchan lstate tt "
+ "time command";
char ufmt[] = "user pid %cpu %mem vsz rss tt state start time command";
char vfmt[] = "pid state time sl re pagein vsz rss lim tsiz %cpu %mem command";