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/dev/ccd.c | |
parent | 41663440599d592f777310ed8c11e89fb470a2aa (diff) |
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/dev/ccd.c')
-rw-r--r-- | sys/dev/ccd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index ada88857fd1..e0474a69293 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccd.c,v 1.76 2007/06/07 05:29:43 deraadt Exp $ */ +/* $OpenBSD: ccd.c,v 1.77 2007/06/08 05:27:58 deraadt Exp $ */ /* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */ /*- @@ -1383,6 +1383,7 @@ ccdgetdisklabel(dev_t dev, struct ccd_softc *cs, struct disklabel *lp, strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname)); lp->d_interleave = 1; lp->d_flags = 0; + lp->d_version = 1; lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; |