diff options
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 */ |