From 97db233d6e3ac6a4dd0ab00e7fbfe9bb0de82901 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 8 Jun 2007 05:27:59 +0000 Subject: all drivers should spoof version 1 labels --- sys/dev/ata/wd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ata/wd.c') diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index 191cffe26cd..834f9a52c9b 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.63 2007/06/07 03:50:20 ray Exp $ */ +/* $OpenBSD: wd.c,v 1.64 2007/06/08 05:27:58 deraadt Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -789,6 +789,7 @@ wdgetdefaultlabel(struct wd_softc *wd, struct disklabel *lp) lp->d_rpm = 3600; lp->d_interleave = 1; lp->d_flags = 0; + lp->d_version = 1; lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; -- cgit v1.2.3