From 3e956f124199cfcaddaf56dabfb76030217fb4b0 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 17 Jun 2007 00:28:58 +0000 Subject: amd64/stand --- sys/arch/armish/stand/boot/wd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/armish/stand') 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; -- cgit v1.2.3