summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c
index df031b5167f..2b2d228f142 100644
--- a/sys/arch/hppa/hppa/disksubr.c
+++ b/sys/arch/hppa/hppa/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.43 2006/10/21 20:10:39 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.44 2006/10/28 23:26:05 krw Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -268,7 +268,7 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly)
}
bcopy(bp->b_data + DOSPARTOFF, dp, sizeof(dp));
- if (ourpart == -1) {
+ if (ourpart == -1 && part_blkno == DOSBBSECTOR) {
/* Search for our MBR partition */
for (dp2=dp, i=0; i < NDOSPART && ourpart == -1;
i++, dp2++)