svn commit: r195361 - stable/7/usr.bin/ipcs
Jilles Tjoelker
jilles at FreeBSD.org
Sun Jul 5 13:17:19 UTC 2009
Author: jilles
Date: Sun Jul 5 13:17:18 2009
New Revision: 195361
URL: http://svn.freebsd.org/changeset/base/195361
Log:
MFC ipcs(1) part of r189283 by kib
This fixes display of shared memory segment sizes greater than 2 GB in
ipcs -b.
PR: kern/136226
Approved by: ed (mentor)
Modified:
stable/7/usr.bin/ipcs/ (props changed)
stable/7/usr.bin/ipcs/ipcs.c
Modified: stable/7/usr.bin/ipcs/ipcs.c
==============================================================================
--- stable/7/usr.bin/ipcs/ipcs.c Sun Jul 5 08:40:26 2009 (r195360)
+++ stable/7/usr.bin/ipcs/ipcs.c Sun Jul 5 13:17:18 2009 (r195361)
@@ -452,8 +452,8 @@ print_kshmptr(int i, int option, struct
kshmptr->u.shm_nattch);
if (option & BIGGEST)
- printf(" %12d",
- kshmptr->u.shm_segsz);
+ printf(" %12zu",
+ kshmptr->shm_bsegsz);
if (option & PID)
printf(" %12d %12d",
More information about the svn-src-all
mailing list