summaryrefslogtreecommitdiff
path: root/sys/dev/isa/mcd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-08 05:27:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-08 05:27:59 +0000
commit97db233d6e3ac6a4dd0ab00e7fbfe9bb0de82901 (patch)
tree30bb631ce3e2825b5f28e702527a803918d9087e /sys/dev/isa/mcd.c
parent41663440599d592f777310ed8c11e89fb470a2aa (diff)
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/dev/isa/mcd.c')
-rw-r--r--sys/dev/isa/mcd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c
index 805463f16e9..30b439fc979 100644
--- a/sys/dev/isa/mcd.c
+++ b/sys/dev/isa/mcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mcd.c,v 1.46 2007/06/06 17:15:13 deraadt Exp $ */
+/* $OpenBSD: mcd.c,v 1.47 2007/06/08 05:27:58 deraadt Exp $ */
/* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */
/*
@@ -757,6 +757,7 @@ mcdgetdisklabel(dev, sc, lp, clp, spoofonly)
DL_SETDSIZE(lp, sc->disksize);
lp->d_rpm = 300;
lp->d_interleave = 1;
+ lp->d_version = 1;
lp->d_magic = DISKMAGIC;
lp->d_magic2 = DISKMAGIC;