summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcs.c
diff options
context:
space:
mode:
authorFrancesco Cosoleto2010-05-18 01:07:46 +0200
committerKarel Zak2010-06-01 11:17:56 +0200
commitf29922a5bc6f64e2876694bdc77ef6b59639fbb2 (patch)
treea9322b204f064f781f956f9f664c1454ea014ed6 /sys-utils/ipcs.c
parenttests: add lscpu dump from Dell R710, 8-core Nehalem w/HT (RHEL 5.5) (diff)
downloadkernel-qcow2-util-linux-f29922a5bc6f64e2876694bdc77ef6b59639fbb2.tar.gz
kernel-qcow2-util-linux-f29922a5bc6f64e2876694bdc77ef6b59639fbb2.tar.xz
kernel-qcow2-util-linux-f29922a5bc6f64e2876694bdc77ef6b59639fbb2.zip
ipcs: get rid of colons from header strings for consistency
This changes output of -u, -l, and -c. Example of non consistent output: $ ipcs -u | grep ^--- ------ Shared Memory Status -------- ------ Semaphore Status -------- ------ Messages: Status -------- Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'sys-utils/ipcs.c')
-rw-r--r--sys-utils/ipcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c
index 766e58698..7cc204e19 100644
--- a/sys-utils/ipcs.c
+++ b/sys-utils/ipcs.c
@@ -487,21 +487,21 @@ void do_msg (char format)
case LIMITS:
if ((msgctl (0, IPC_INFO, (struct msqid_ds *) (void *) &msginfo)) < 0 )
return;
- printf (_("------ Messages: Limits --------\n"));
+ printf (_("------ Messages Limits --------\n"));
printf (_("max queues system wide = %d\n"), msginfo.msgmni);
printf (_("max size of message (bytes) = %d\n"), msginfo.msgmax);
printf (_("default max size of queue (bytes) = %d\n"), msginfo.msgmnb);
return;
case STATUS:
- printf (_("------ Messages: Status --------\n"));
+ printf (_("------ Messages Status --------\n"));
printf (_("allocated queues = %d\n"), msginfo.msgpool);
printf (_("used headers = %d\n"), msginfo.msgmap);
printf (_("used space = %d bytes\n"), msginfo.msgtql);
return;
case CREATOR:
- printf (_("------ Message Queues: Creators/Owners --------\n"));
+ printf (_("------ Message Queues Creators/Owners --------\n"));
printf ("%-10s %-10s %-10s %-10s %-10s %-10s\n",
_("msqid"),_("perms"),_("cuid"),_("cgid"),_("uid"),_("gid"));
break;