diff options
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/disksubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index d15e4613535..84cdd9e5a3b 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.63 2006/10/21 20:10:39 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.64 2006/10/28 23:26:05 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -265,7 +265,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++) |