Date: Sun, 17 Jul 2011 05:33:22 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r224123 - head/sys/compat/linux Message-ID: <201107170533.p6H5XMMB059833@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107170533.p6H5XMMB059833>