summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 76e29ab..01e7e1c 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -750,6 +750,15 @@ rvar(KINFO *k, VARENT *ve)
}
void
+emulname(KINFO *k, VARENT *ve)
+{
+ VAR *v;
+
+ v = ve->var;
+ printf("%-*s", v->width, *k->ki_p->ki_emul ? k->ki_p->ki_emul : "-");
+}
+
+void
label(KINFO *k, VARENT *ve)
{
char *string;
OpenPOWER on IntegriCloud