summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-19 17:43:56 +0000
committerDenis Vlasenko2006-09-19 17:43:56 +0000
commit3ccc10067098e47743ac6f160eaab74682c0cf21 (patch)
tree73f8604f452c9adbb3a664126c52f62544169a66 /util-linux
parentc7b9bad519c56e5d4437cf954ac61d8bace64636 (diff)
downloadbusybox-3ccc10067098e47743ac6f160eaab74682c0cf21.zip
busybox-3ccc10067098e47743ac6f160eaab74682c0cf21.tar.gz
ipcs: fix output (misaligned columns)
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/ipcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c
index 78c0ce9..b49aab0 100644
--- a/util-linux/ipcs.c
+++ b/util-linux/ipcs.c
@@ -234,7 +234,7 @@ static void do_shm(void)
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 @@ static void do_sem(void)
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