diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-07 16:41:41 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-07 16:41:41 +0000 |
commit | 766f65919b4b6dbbfca2c79480bff8e9fb796092 (patch) | |
tree | 02d359fbda8e0d069e03ce5fa03faf1011fc6877 /procps/ps.c | |
parent | 482f2b31e788fdd849f78a3aa91cf6102fc98892 (diff) | |
download | busybox-w32-766f65919b4b6dbbfca2c79480bff8e9fb796092.tar.gz busybox-w32-766f65919b4b6dbbfca2c79480bff8e9fb796092.tar.bz2 busybox-w32-766f65919b4b6dbbfca2c79480bff8e9fb796092.zip |
ps: fix COMMAND column adjustment
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c index a46e92a8b..2bd339c14 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -522,7 +522,7 @@ int ps_main(int argc, char **argv) | |||
522 | ))) { | 522 | ))) { |
523 | #if ENABLE_SELINUX | 523 | #if ENABLE_SELINUX |
524 | if (use_selinux) { | 524 | if (use_selinux) { |
525 | len = printf("%5u %-32.32s %s ", | 525 | len = printf("%5u %-32.32s %s ", |
526 | p->pid, | 526 | p->pid, |
527 | p->context ? p->context : "unknown", | 527 | p->context ? p->context : "unknown", |
528 | p->state); | 528 | p->state); |
@@ -538,7 +538,7 @@ int ps_main(int argc, char **argv) | |||
538 | char buf6[6]; | 538 | char buf6[6]; |
539 | smart_ulltoa5(p->vsz, buf6, " mgtpezy"); | 539 | smart_ulltoa5(p->vsz, buf6, " mgtpezy"); |
540 | buf6[5] = '\0'; | 540 | buf6[5] = '\0'; |
541 | len = printf("%5u %-8.8s %s %s ", | 541 | len = printf("%5u %-8.8s %s %s ", |
542 | p->pid, user, buf6, p->state); | 542 | p->pid, user, buf6, p->state); |
543 | } | 543 | } |
544 | } | 544 | } |