diff options
-rw-r--r-- | usr.bin/ipcs/ipcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c index 3a4ac475e65..8dcba5ece14 100644 --- a/usr.bin/ipcs/ipcs.c +++ b/usr.bin/ipcs/ipcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipcs.c,v 1.4 1996/06/26 05:34:37 deraadt Exp $ */ +/* $OpenBSD: ipcs.c,v 1.5 1996/08/11 00:24:32 deraadt Exp $ */ /* $NetBSD: ipcs.c,v 1.10.6.1 1996/06/07 01:53:47 thorpej Exp $ */ /* @@ -340,7 +340,7 @@ main(argc, argv) symbols[X_SHMSEGS].n_name, kvm_geterr(kd)); xshmids = malloc(sizeof(struct shmid_ds) * - msginfo.msgmni); + shminfo.shmmni); if (kvm_read(kd, (u_long)shmsegs, xshmids, sizeof(struct shmid_ds) * shminfo.shmmni) != |