Subject: CVS commit: src/sbin/fdisk
To: None <source-changes@NetBSD.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 07/30/2004 23:42:29
Module Name:	src
Committed By:	dbj
Date:		Fri Jul 30 23:42:29 UTC 2004

Modified Files:
	src/sbin/fdisk: fdisk.c

Log Message:
check sysctl error return on both calls.
this prevents sysctl from coredumping if the second call fails while the
first succeeds.  This isn't supposed to happen, but there is another bug
in the i386 kernel implementation of sysctl machdep.diskinfo that excites this


To generate a diff of this commit:
cvs rdiff -r1.80 -r1.81 src/sbin/fdisk/fdisk.c

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