Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 05/26/2000 20:24:52
Module Name:	syssrc
Committed By:	simonb
Date:		Sat May 27 03:24:51 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_sysctl.c

Log Message:
Set *sizep correctly if returning the number of elements.  Pointed out
by Anders Magnusson.

Honor elem_count in the KERN_PROC2 case, as well as overall buffer
space.  The only user-land code to use this set the elem_count to
"buffer_space / elem_size", so we've had no incorrect behaviour to date.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 syssrc/sys/kern/kern_sysctl.c

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