diff options
Diffstat (limited to 'sys/arch/macppc/stand/ofdev.c')
-rw-r--r-- | sys/arch/macppc/stand/ofdev.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c index d989ca58b51..fc4e952b62c 100644 --- a/sys/arch/macppc/stand/ofdev.c +++ b/sys/arch/macppc/stand/ofdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofdev.c,v 1.8 2003/10/16 04:30:09 drahn Exp $ */ +/* $OpenBSD: ofdev.c,v 1.9 2006/10/12 12:14:17 krw Exp $ */ /* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */ /* @@ -275,8 +275,7 @@ search_label(devp, off, buf, lp, off0) off0 += off; for (p = (struct dos_partition *)(buf + DOSPARTOFF), i = 4; --i >= 0; p++) { - if (p->dp_typ == DOSPTYP_OPENBSD || - p->dp_typ == DOSPTYP_NETBSD) { + if (p->dp_typ == DOSPTYP_OPENBSD) { poff = get_long(&p->dp_start) + off0; if (strategy(devp, F_READ, poff + LABELSECTOR, DEV_BSIZE, buf, &read) == 0 |