diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-08 05:27:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-08 05:27:59 +0000 |
commit | 97db233d6e3ac6a4dd0ab00e7fbfe9bb0de82901 (patch) | |
tree | 30bb631ce3e2825b5f28e702527a803918d9087e /sys/arch/hp300 | |
parent | 41663440599d592f777310ed8c11e89fb470a2aa (diff) |
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |