summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/stand/boot/wd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/socppc/stand/boot/wd.c')
-rw-r--r--sys/arch/socppc/stand/boot/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/stand/boot/wd.c b/sys/arch/socppc/stand/boot/wd.c
index 0f1c3c349af..c55e550eddc 100644
--- a/sys/arch/socppc/stand/boot/wd.c
+++ b/sys/arch/socppc/stand/boot/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.8 2015/10/01 16:08:20 krw Exp $ */
+/* $OpenBSD: wd.c,v 1.9 2015/10/01 20:28:12 krw Exp $ */
/* $NetBSD: wd.c,v 1.5 2005/12/11 12:17:06 christos Exp $ */
/*-
@@ -200,7 +200,7 @@ wdgetdisklabel(wd)
}
}
- if (wdstrategy(wd, F_READ, sector + LABELSECTOR, DEV_BSIZE,
+ if (wdstrategy(wd, F_READ, sector + DOS_LABELSECTOR, DEV_BSIZE,
buf, &rsize))
return EOFFSET;