summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2016-06-01 19:54:05 +0000
committercem <cem@FreeBSD.org>2016-06-01 19:54:05 +0000
commitc0555173efe9b1a51d8ba237d94d3fc6e9407006 (patch)
treedfc65054977135db49b7251c7254d31f1e829993 /bin/ps/print.c
parent911fc77d0fd6812bd44d3cd82ed4274bd0ab6115 (diff)
downloadFreeBSD-src-c0555173efe9b1a51d8ba237d94d3fc6e9407006.zip
FreeBSD-src-c0555173efe9b1a51d8ba237d94d3fc6e9407006.tar.gz
ps(1): Expand variables to match expanded fields
ki_flag and ki_tdflag have been 'long', not 'int', since 2000 and 2005, respectively. Submitted by: Shawn Wills <swills at isilon dot com> Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 91daa44..1cbcf62 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -211,7 +211,7 @@ logname(KINFO *k, VARENT *ve __unused)
char *
state(KINFO *k, VARENT *ve __unused)
{
- int flag, tdflags;
+ long flag, tdflags;
char *cp, *buf;
buf = malloc(16);
OpenPOWER on IntegriCloud