Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ipcs Make the ID field a little wider.
details: https://anonhg.NetBSD.org/src/rev/2a7979e665b6
branches: trunk
changeset: 545347:2a7979e665b6
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Apr 07 01:42:37 2003 +0000
description:
Make the ID field a little wider.
diffstat:
usr.bin/ipcs/ipcs.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 7287ccc417d9 -r 2a7979e665b6 usr.bin/ipcs/ipcs.c
--- a/usr.bin/ipcs/ipcs.c Sun Apr 06 22:56:38 2003 +0000
+++ b/usr.bin/ipcs/ipcs.c Mon Apr 07 01:42:37 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipcs.c,v 1.28 2002/09/21 04:30:42 chs Exp $ */
+/* $NetBSD: ipcs.c,v 1.29 2003/04/07 01:42:37 simonb Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -294,7 +294,7 @@
show_msginfo_hdr(void)
{
printf("Message Queues:\n");
- printf("T ID KEY MODE OWNER GROUP");
+ printf("T ID KEY MODE OWNER GROUP");
if (option & CREATOR)
printf(" CREATOR CGROUP");
if (option & OUTSTANDING)
@@ -322,7 +322,7 @@
cvt_time(ctime, ctime_buf, sizeof(ctime_buf));
}
- printf("q %7d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
+ printf("q %9d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
user_from_uid(uid, 0), group_from_gid(gid, 0));
if (option & CREATOR)
@@ -348,7 +348,7 @@
show_shminfo_hdr(void)
{
printf("Shared Memory:\n");
- printf("T ID KEY MODE OWNER GROUP");
+ printf("T ID KEY MODE OWNER GROUP");
if (option & CREATOR)
printf(" CREATOR CGROUP");
if (option & OUTSTANDING)
@@ -375,7 +375,7 @@
cvt_time(ctime, ctime_buf, sizeof(ctime_buf));
}
- printf("m %7d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
+ printf("m %9d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
user_from_uid(uid, 0), group_from_gid(gid, 0));
if (option & CREATOR)
@@ -404,7 +404,7 @@
show_seminfo_hdr(void)
{
printf("Semaphores:\n");
- printf("T ID KEY MODE OWNER GROUP");
+ printf("T ID KEY MODE OWNER GROUP");
if (option & CREATOR)
printf(" CREATOR CGROUP");
if (option & BIGGEST)
@@ -425,7 +425,7 @@
cvt_time(ctime, ctime_buf, sizeof(ctime_buf));
}
- printf("s %7d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
+ printf("s %9d %10lld %s %8s %8s", ipcid, (long long)key, fmt_perm(mode),
user_from_uid(uid, 0), group_from_gid(gid, 0));
if (option & CREATOR)
Home |
Main Index |
Thread Index |
Old Index