diff options
author | 2007-06-08 05:27:58 +0000 | |
---|---|---|
committer | 2007-06-08 05:27:58 +0000 | |
commit | 222309212df9fe7b2231f37bca7fc731a79b645b (patch) | |
tree | f4c6c73d54329730bf29c61052ee39c0dda79a64 /sys/dev/isa/mcd.c | |
parent | - always set the partition disk size to full disk info (from driver) (diff) | |
download | wireguard-openbsd-222309212df9fe7b2231f37bca7fc731a79b645b.tar.xz wireguard-openbsd-222309212df9fe7b2231f37bca7fc731a79b645b.zip |
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/dev/isa/mcd.c')
-rw-r--r-- | sys/dev/isa/mcd.c | 3 |
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; |