summaryrefslogtreecommitdiff
path: root/sys/arch/wgrisc/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/wgrisc/stand')
-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;
}