Subject: CVS commit: syssrc/sys/arch/macppc/dev
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 07/25/2001 23:26:34
Module Name:	syssrc
Committed By:	bouyer
Date:		Wed Jul 25 20:26:34 UTC 2001

Modified Files:
	syssrc/sys/arch/macppc/dev: wdc_obio.c

Log Message:
Return() if piomode == -1 (i.e. we have no drives), avoid reading an array with
a negative offset.
Thanks to Andrew Cagney for pointing this out.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/macppc/dev/wdc_obio.c

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