[Midnightbsd-cvs] src: ipcs.c: sync ipcs

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Dec 9 12:08:18 EST 2008


Log Message:
-----------
sync ipcs

Modified Files:
--------------
    src/usr.bin/ipcs:
        ipcs.c (r1.1.1.1 -> r1.2)

-------------- next part --------------
Index: ipcs.c
===================================================================
RCS file: /home/cvs/src/usr.bin/ipcs/ipcs.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -L usr.bin/ipcs/ipcs.c -L usr.bin/ipcs/ipcs.c -u -r1.1.1.1 -r1.2
--- usr.bin/ipcs/ipcs.c
+++ usr.bin/ipcs/ipcs.c
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/usr.bin/ipcs/ipcs.c,v 1.27 2005/05/24 23:42:09 csjp Exp $");
+__FBSDID("$FreeBSD: src/usr.bin/ipcs/ipcs.c,v 1.29 2006/05/15 08:20:38 maxim Exp $");
 
 #include <assert.h>
 #include <err.h>
@@ -93,11 +93,11 @@
 };
 
 #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))				\
@@ -598,7 +598,7 @@
 		if (symbols[idx].n_type == 0 || symbols[idx].n_value == 0)
 			errx(1, "symbol %s undefined", symn);
 		/*
-		 * For some symbols, the value we retreieve is
+		 * For some symbols, the value we retrieve is
 		 * actually a pointer; since we want the actual value,
 		 * we have to manually dereference it.
 		 */


More information about the Midnightbsd-cvs mailing list