svn commit: trunk/busybox/procps

vda at busybox.net vda at busybox.net
Mon Jan 7 16:41:41 UTC 2008


Author: vda
Date: 2008-01-07 08:41:41 -0800 (Mon, 07 Jan 2008)
New Revision: 20810

Log:
ps: fix COMMAND column adjustment



Modified:
   trunk/busybox/procps/ps.c


Changeset:
Modified: trunk/busybox/procps/ps.c
===================================================================
--- trunk/busybox/procps/ps.c	2008-01-07 16:14:14 UTC (rev 20809)
+++ trunk/busybox/procps/ps.c	2008-01-07 16:41:41 UTC (rev 20810)
@@ -522,7 +522,7 @@
 	))) {
 #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 @@
 				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);
 			}
 		}




More information about the busybox-cvs mailing list