summaryrefslogtreecommitdiff
path: root/sys/arch/armish/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-17 00:28:58 +0000
commit3e956f124199cfcaddaf56dabfb76030217fb4b0 (patch)
tree3da4ad1810409fa52da23b3bdc1bceeaf1cdd99e /sys/arch/armish/stand
parentd67cf536981fe324152c9f4f89119b8b3a7b383d (diff)
amd64/stand
Diffstat (limited to 'sys/arch/armish/stand')
-rw-r--r--sys/arch/armish/stand/boot/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armish/stand/boot/wd.c b/sys/arch/armish/stand/boot/wd.c
index 4ef15f789a2..724007ac77f 100644
--- a/sys/arch/armish/stand/boot/wd.c
+++ b/sys/arch/armish/stand/boot/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.4 2006/08/12 13:53:44 krw Exp $ */
+/* $OpenBSD: wd.c,v 1.5 2007/06/17 00:28:56 deraadt Exp $ */
/* $NetBSD: wd.c,v 1.5 2005/12/11 12:17:06 christos Exp $ */
/*-
@@ -174,7 +174,7 @@ wdgetdisklabel(wd)
if (wdstrategy(wd, F_READ, DOSBBSECTOR, DEV_BSIZE, buf, &rsize))
return EOFFSET;
- if (*(u_int16_t *)&buf[DOSMAGICOFF] == DOSMAGIC) {
+ if (*(u_int16_t *)&buf[DOSMBR_SIGNATURE_OFF] == DOSMBR_SIGNATURE) {
int i;
struct dos_partition *dp = (struct dos_partition *)buf;