diff options
author | jmallett <jmallett@FreeBSD.org> | 2003-01-19 00:31:16 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2003-01-19 00:31:16 +0000 |
commit | 73809496b45d21085a6db24febd200f02c70f935 (patch) | |
tree | 1cc7b9065ac7aabd4420de7b517bd239be8106b6 /bin/ps/ps.c | |
parent | d52835b4ab057c3bfdf416502c82c4c0f7a22546 (diff) | |
download | FreeBSD-src-73809496b45d21085a6db24febd200f02c70f935.zip FreeBSD-src-73809496b45d21085a6db24febd200f02c70f935.tar.gz |
Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similar
case to do the right thing and affect exactly one column. This is consistent
with GNU ps(1) in BSD mode, and POLA.
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r-- | bin/ps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 24e47eb..c62d1dc 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -515,7 +515,7 @@ sizevars(void) for (vent = vhead; vent; vent = vent->next) { v = vent->var; - i = strlen(v->header); + i = strlen(vent->header); if (v->width < i) v->width = i; totwidth += v->width + 1; /* +1 for space */ |