projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482f2b3
)
ps: fix COMMAND column adjustment
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 7 Jan 2008 16:41:41 +0000
(16:41 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 7 Jan 2008 16:41:41 +0000
(16:41 -0000)
procps/ps.c
patch
|
blob
|
history
diff --git
a/procps/ps.c
b/procps/ps.c
index a46e92a8b6d8a7fd4e6b28044bf7200104286d23..2bd339c149d9349df4831ced96750717c6b4f24d 100644
(file)
--- 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);
}
}