Subject: CVS commit: src/sys/kern
To: None <>
From: Reinoud Zandijk <>
List: source-changes
Date: 12/14/2005 15:01:03
Module Name:	src
Committed By:	reinoud
Date:		Wed Dec 14 15:01:03 UTC 2005

Modified Files:
	src/sys/kern: subr_disk_mbr.c

Log Message:
Fix disklabel recognition code for mbr based systems like i386. It would
return NULL even though no disklabel was found making callers assume that a
valid disklabel WAS found but instead were presented by the dummy disklabel
that is created.

If the rval is SCAN_CONTINUE it now returns a standard error that no
disklabel was found instead of the NULL.

To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/kern/subr_disk_mbr.c

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