diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-17 00:28:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-17 00:28:58 +0000 |
commit | 3e956f124199cfcaddaf56dabfb76030217fb4b0 (patch) | |
tree | 3da4ad1810409fa52da23b3bdc1bceeaf1cdd99e /sys/arch/armish/stand | |
parent | d67cf536981fe324152c9f4f89119b8b3a7b383d (diff) |
amd64/stand
Diffstat (limited to 'sys/arch/armish/stand')
-rw-r--r-- | sys/arch/armish/stand/boot/wd.c | 4 |
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; |