Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Stephen Degler <skd@netbsd.org>
List: source-changes
Date: 08/17/2007 23:05:07
Module Name:	src
Committed By:	skd
Date:		Fri Aug 17 23:05:07 UTC 2007

Modified Files:
	src/sys/kern: sysv_sem.c

Log Message:
Don't put the condvars in the *middle* of the undo structures.
(semu + seminfo.semmnu) is wrong, because the type of semu is int*.
You could fix the offset ((char *)semu + seminfo.semusz), but simply
putting the condvars first is more clear.


To generate a diff of this commit:
cvs rdiff -r1.71 -r1.72 src/sys/kern/sysv_sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.