summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/biosdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/libsa/biosdev.c')
-rw-r--r--sys/arch/i386/stand/libsa/biosdev.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c
index 84a0387e1d4..4a9e6b206a5 100644
--- a/sys/arch/i386/stand/libsa/biosdev.c
+++ b/sys/arch/i386/stand/libsa/biosdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosdev.c,v 1.69 2004/06/23 00:21:49 tom Exp $ */
+/* $OpenBSD: biosdev.c,v 1.70 2006/10/12 12:14:17 krw Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -365,16 +365,8 @@ bios_getdisklabel(bios_diskinfo_t *bd, struct disklabel *label)
for (off = 0, i = 0; off == 0 && i < NDOSPART; i++)
if (mbr.dmbr_parts[i].dp_typ == DOSPTYP_OPENBSD)
off = mbr.dmbr_parts[i].dp_start + LABELSECTOR;
-
- /* just in case */
- if (off == 0)
- for (off = 0, i = 0; off == 0 && i < NDOSPART; i++)
- if (mbr.dmbr_parts[i].dp_typ == DOSPTYP_NETBSD)
- off = mbr.dmbr_parts[i].dp_start +
- LABELSECTOR;
-
if (off == 0)
- return "no BSD partition\n";
+ return "no OpenBSD partition\n";
} else
off = LABELSECTOR;