summaryrefslogtreecommitdiffstats
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ipcs')
-rw-r--r--usr.bin/ipcs/ipcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c
index 67364d5..1fd943a 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -452,8 +452,8 @@ print_kshmptr(int i, int option, struct shmid_kernel *kshmptr)
kshmptr->u.shm_nattch);
if (option & BIGGEST)
- printf(" %12d",
- kshmptr->u.shm_segsz);
+ printf(" %12zu",
+ kshmptr->shm_bsegsz);
if (option & PID)
printf(" %12d %12d",
OpenPOWER on IntegriCloud