svn commit: trunk/busybox/util-linux

vda at busybox.net vda at busybox.net
Tue Sep 19 17:43:56 UTC 2006


Author: vda
Date: 2006-09-19 10:43:56 -0700 (Tue, 19 Sep 2006)
New Revision: 16161

Log:
ipcs: fix output (misaligned columns)


Modified:
   trunk/busybox/util-linux/ipcs.c


Changeset:
Modified: trunk/busybox/util-linux/ipcs.c
===================================================================
--- trunk/busybox/util-linux/ipcs.c	2006-09-19 17:40:31 UTC (rev 16160)
+++ trunk/busybox/util-linux/ipcs.c	2006-09-19 17:43:56 UTC (rev 16161)
@@ -234,7 +234,7 @@
 				bb_printf("%-10d %-10.10s", shmid, pw->pw_name);
 			else
 				bb_printf("%-10d %-10d", shmid, ipcp->uid);
-			bb_printf("%-10o %-10lu %-10ld %-6s %-6s\n", ipcp->mode & 0777,
+			bb_printf(" %-10o %-10lu %-10ld %-6s %-6s\n", ipcp->mode & 0777,
 					  /*
 					   * earlier: int, Austin has size_t
 					   */
@@ -344,7 +344,7 @@
 				bb_printf("%-10d %-10.9s", semid, pw->pw_name);
 			else
 				bb_printf("%-10d %-9d", semid, ipcp->uid);
-			bb_printf("%-10o %-10ld\n", ipcp->mode & 0777,
+			bb_printf(" %-10o %-10ld\n", ipcp->mode & 0777,
 					  /*
 					   * glibc-2.1.3 and earlier has unsigned short;
 					   * glibc-2.1.91 has variation between




More information about the busybox-cvs mailing list