summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/stand/boot/sd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-19 20:52:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-19 20:52:30 +0000
commita42a1f06d8f911f27751ce57c14237eb53b1ba3d (patch)
tree4ce371cfd028032db48f0a3e9918608413399b09 /sys/arch/wgrisc/stand/boot/sd.c
parentd8bb500cf7ef3838f9dd3b60b3b8bc3f8b2d03e0 (diff)
partition name change
Diffstat (limited to 'sys/arch/wgrisc/stand/boot/sd.c')
-rw-r--r--sys/arch/wgrisc/stand/boot/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/wgrisc/stand/boot/sd.c b/sys/arch/wgrisc/stand/boot/sd.c
index dfc9b51317e..c04fa3ce732 100644
--- a/sys/arch/wgrisc/stand/boot/sd.c
+++ b/sys/arch/wgrisc/stand/boot/sd.c
@@ -130,8 +130,8 @@ sdopen(struct open_file *f, ...)
bcopy(buf + DOSPARTOFF, &dp, NDOSPART * sizeof(dp));
for (dp2=&dp, i=0; i < NDOSPART; i++, dp2++) {
if (dp2->dp_size) {
- if((dp2->dp_typ == DOSPTYP_386BSD) ||
- (dp2->dp_typ == DOSPTYP_OPENBSD)) {
+ if((dp2->dp_typ == DOSPTYP_OPENBSD) ||
+ (dp2->dp_typ == DOSPTYP_FREEBSD)) {
labelsector += dp2->dp_start;
break;
}