aboutsummaryrefslogtreecommitdiff
path: root/bin/ps/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 13ef646ea462..005268b30d8c 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -81,9 +81,9 @@ printheader(void)
if (STAILQ_NEXT(vent, next_ve) == NULL) /* last one */
xo_emit("{T:/%hs}", vent->header);
else
- xo_emit("{T:/%-*hs}", v->width, vent->header);
+ xo_emit("{T:/%-*hs}", vent->width, vent->header);
} else
- xo_emit("{T:/%*hs}", v->width, vent->header);
+ xo_emit("{T:/%*hs}", vent->width, vent->header);
if (STAILQ_NEXT(vent, next_ve) != NULL)
xo_emit("{P: }");
}