svn commit: r224123 - head/sys/compat/linux

Bjoern A. Zeeb bz at FreeBSD.org
Sun Jul 17 05:33:22 UTC 2011


Author: bz
Date: Sun Jul 17 05:33:22 2011
New Revision: 224123
URL: http://svn.freebsd.org/changeset/base/224123

Log:
  Remove the 'either' from the comment as it'll be less obvious that we
  removed semmap in a bit of time from now.   Re-wrap.
  
  Suggested by:	jhb

Modified:
  head/sys/compat/linux/linux_ipc.c

Modified: head/sys/compat/linux/linux_ipc.c
==============================================================================
--- head/sys/compat/linux/linux_ipc.c	Sun Jul 17 04:10:00 2011	(r224122)
+++ head/sys/compat/linux/linux_ipc.c	Sun Jul 17 05:33:22 2011	(r224123)
@@ -578,10 +578,10 @@ linux_semctl(struct thread *td, struct l
 		bcopy(&seminfo, &linux_seminfo.semmni, sizeof(linux_seminfo) -
 		    sizeof(linux_seminfo.semmap) );
 		/*
-		 * Linux does not use the semmap field either but populates it
-		 * with the defined value from SEMMAP, which really is redefined
-		 * to SEMMNS, which they define as SEMMNI * SEMMSL.
-		 * Try to simulate this returning our dynamic semmns value.
+		 * Linux does not use the semmap field but populates it with
+		 * the defined value from SEMMAP, which really is redefined to
+		 * SEMMNS, which they define as SEMMNI * SEMMSL.  Try to
+		 * simulate this returning our dynamic semmns value.
 		 */
 		linux_seminfo.semmap = linux_seminfo.semmns;
 /* XXX BSD equivalent?


More information about the svn-src-head mailing list