diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-11 00:24:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-11 00:24:33 +0000 |
commit | 16a554f89dec1186c3f7232b1bf67afded92f7a0 (patch) | |
tree | b805aab8a50489019fe03c26515a206a6ee7b4dc | |
parent | db967d53a32c0484f2ef756a9dc99b9ea30f5994 (diff) |
one incorrect variable; jin@george.lbl.gov via freebsd
-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) != |