Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 04/30/2007 17:23:09
Module Name: src
Committed By: tron
Date: Mon Apr 30 17:23:09 UTC 2007
Modified Files:
src/sys/dev: ld.c
Log Message:
Reset error code if an ioctl() request is not handled by the generic
disk framework. This stops ld(4) from returning an error for various
ioctl() requests which actually *did* work. As a result fdisk(8) and
therefore also sysinst(8) work with ld(4) devices once again.
Based on a patch supplied by Todd Kover in PR kern/36244, successfully
tested with ld(4)@icp(4).
To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/dev/ld.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.