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/arch/hp300/dev/hd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/hp300') diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c index 8e577a1ea97..13abead54f5 100644 --- a/sys/arch/hp300/dev/hd.c +++ b/sys/arch/hp300/dev/hd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hd.c,v 1.49 2007/06/06 17:15:11 deraadt Exp $ */ +/* $OpenBSD: hd.c,v 1.50 2007/06/08 05:27:58 deraadt Exp $ */ /* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */ /* @@ -513,6 +513,7 @@ hdgetdisklabel(dev, rs, lp, clp, spoofonly) lp->d_rpm = 3600; lp->d_interleave = 1; lp->d_flags = 0; + lp->d_version = 1; /* XXX - these values for BBSIZE and SBSIZE assume ffs */ lp->d_bbsize = BBSIZE; -- cgit v1.2.3