From: Chris Torek Date: Sun, 29 Nov 1992 18:26:28 +0000 (-0800) Subject: p_cpu is a u_int, not a u_char X-Git-Tag: BSD-4_4-Snapshot-Development~4243 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/e1913d35c8928d1e2a780392b9be1d5406b4745f p_cpu is a u_int, not a u_char SCCS-vsn: bin/ps/keyword.c 5.14 --- diff --git a/usr/src/bin/ps/keyword.c b/usr/src/bin/ps/keyword.c index be0911957f..8c6fd3e077 100644 --- a/usr/src/bin/ps/keyword.c +++ b/usr/src/bin/ps/keyword.c @@ -6,7 +6,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)keyword.c 5.13 (Berkeley) %G%"; +static char sccsid[] = "@(#)keyword.c 5.14 (Berkeley) %G%"; #endif /* not lint */ #include @@ -62,7 +62,7 @@ VAR var[] = { {"blocked", "", "sigmask"}, {"caught", "", "sigcatch"}, {"command", "COMMAND", NULL, COMM|LJUST|USER, command, 16}, - {"cpu", "CPU", NULL, 0, pvar, 3, POFF(p_cpu), UCHAR, "d"}, + {"cpu", "CPU", NULL, 0, pvar, 3, POFF(p_cpu), ULONG, "d"}, {"cputime", "", "time"}, {"f", "F", NULL, 0, pvar, 7, POFF(p_flag), LONG, "x"}, {"flags", "", "f"}, @@ -149,7 +149,7 @@ VAR var[] = { {"blocked", "", "sigmask"}, {"caught", "", "sigcatch"}, {"command", "COMMAND", NULL, COMM|LJUST|USER, command, 16}, - {"cpu", "CPU", NULL, 0, pvar, 3, POFF(p_cpu), UCHAR, "d"}, + {"cpu", "CPU", NULL, 0, pvar, 3, POFF(p_cpu), ULONG, "d"}, {"cputime", "", "time"}, {"f", "F", NULL, 0, pvar, 7, POFF(p_flag), LONG, "x"}, {"flags", "", "f"},