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/sparc/dev/fd.c | |
parent | 41663440599d592f777310ed8c11e89fb470a2aa (diff) |
all drivers should spoof version 1 labels
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c index 61e85053746..c36b5b439fc 100644 --- a/sys/arch/sparc/dev/fd.c +++ b/sys/arch/sparc/dev/fd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fd.c,v 1.52 2007/06/07 00:14:20 deraadt Exp $ */ +/* $OpenBSD: fd.c,v 1.53 2007/06/08 05:27:58 deraadt Exp $ */ /* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */ /*- @@ -1970,6 +1970,7 @@ fdgetdisklabel(dev) strncpy(lp->d_typename, "floppy disk", sizeof(lp->d_typename)); strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname)); lp->d_interleave = 1; + lp->d_version = 1; lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; |