summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-09-28 20:08:34 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-09-28 20:08:34 +0000
commit35f458766979de40a9f876bddca60c8cbedda8a1 (patch)
tree61d8909dbc8b9a27560ee48a62e0e1ab6d53c974
parent3cae2e80aa814fedd590a19ec104271d5928fcce (diff)
Notes
-rw-r--r--sys/boot/i386/libi386/biosdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c
index 752281eaa778..e7ed4590806f 100644
--- a/sys/boot/i386/libi386/biosdisk.c
+++ b/sys/boot/i386/libi386/biosdisk.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: biosdisk.c,v 1.6 1998/09/26 01:30:20 msmith Exp $
+ * $Id: biosdisk.c,v 1.7 1998/09/28 20:07:39 peter Exp $
*/
/*
@@ -245,7 +245,7 @@ bd_open(struct open_file *f, void *vdev)
/*
* Check the slice table magic.
*/
- if ((od->od_buf[0x1fe] != 0xff) || (od->od_buf[0x1ff] != 0xaa)) {
+ if ((od->od_buf[0x1fe] != 0x55) || (od->od_buf[0x1ff] != 0xaa)) {
/* If a slice number was explicitly supplied, this is an error */
if (dev->d_kind.biosdisk.slice > 0) {
DEBUG("no slice table/MBR (no magic)");