summaryrefslogtreecommitdiff
path: root/usr.bin/ipcs
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2005-08-06 07:20:18 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2005-08-06 07:20:18 +0000
commit9baea4b4b4f3b9aa15b529e7381a02f38f2f7817 (patch)
tree7f404867df31caa4a760d72c567e74af206dd740 /usr.bin/ipcs
parent9a24dfc72e8cb7d6d52d27cf6cd92f9e0521c52d (diff)
Notes
Diffstat (limited to 'usr.bin/ipcs')
-rw-r--r--usr.bin/ipcs/ipcs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c
index 5a1dbb02d67b..cd2fe13c3791 100644
--- a/usr.bin/ipcs/ipcs.c
+++ b/usr.bin/ipcs/ipcs.c
@@ -93,11 +93,11 @@ static struct nlist symbols[] = {
};
#define SHMINFO_XVEC \
-X(shmmax, sizeof(int)) \
-X(shmmin, sizeof(int)) \
-X(shmmni, sizeof(int)) \
-X(shmseg, sizeof(int)) \
-X(shmall, sizeof(int))
+X(shmmax, sizeof(u_long)) \
+X(shmmin, sizeof(u_long)) \
+X(shmmni, sizeof(u_long)) \
+X(shmseg, sizeof(u_long)) \
+X(shmall, sizeof(u_long))
#define SEMINFO_XVEC \
X(semmap, sizeof(int)) \