summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-07 16:41:41 +0000
committerDenis Vlasenko2008-01-07 16:41:41 +0000
commit766f65919b4b6dbbfca2c79480bff8e9fb796092 (patch)
tree02d359fbda8e0d069e03ce5fa03faf1011fc6877 /procps
parent482f2b31e788fdd849f78a3aa91cf6102fc98892 (diff)
downloadbusybox-766f65919b4b6dbbfca2c79480bff8e9fb796092.zip
busybox-766f65919b4b6dbbfca2c79480bff8e9fb796092.tar.gz
ps: fix COMMAND column adjustment
Diffstat (limited to 'procps')
-rw-r--r--procps/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c
index a46e92a..2bd339c 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -522,7 +522,7 @@ int ps_main(int argc, char **argv)
))) {
#if ENABLE_SELINUX
if (use_selinux) {
- len = printf("%5u %-32.32s %s ",
+ len = printf("%5u %-32.32s %s ",
p->pid,
p->context ? p->context : "unknown",
p->state);
@@ -538,7 +538,7 @@ int ps_main(int argc, char **argv)
char buf6[6];
smart_ulltoa5(p->vsz, buf6, " mgtpezy");
buf6[5] = '\0';
- len = printf("%5u %-8.8s %s %s ",
+ len = printf("%5u %-8.8s %s %s ",
p->pid, user, buf6, p->state);
}
}