Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 11/04/2002 05:50:08
Module Name:	syssrc
Committed By:	mrg
Date:		Mon Nov  4 03:50:08 UTC 2002

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

Log Message:
repair backwards compatibility with netbsd 1.6 - if we are not given the
wanted sizeof(struct disk_sysctl), use the old size.  for non-COMPAT_16,
however, we return EINVAL so that all future programs are forced into
passing the wanted size.  1.6 iostat(8) works with -current kernel again.

as seen on tech-kern.


To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 syssrc/sys/kern/subr_disk.c

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