diff options
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/fd.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/presto.c | 3 |
2 files changed, 4 insertions, 2 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; diff --git a/sys/arch/sparc/dev/presto.c b/sys/arch/sparc/dev/presto.c index ddbd32f56e4..a454bcb071f 100644 --- a/sys/arch/sparc/dev/presto.c +++ b/sys/arch/sparc/dev/presto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: presto.c,v 1.10 2007/06/06 17:15:12 deraadt Exp $ */ +/* $OpenBSD: presto.c,v 1.11 2007/06/08 05:27:58 deraadt Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * All rights reserved. @@ -387,6 +387,7 @@ presto_getdisklabel(dev_t dev, struct presto_softc *sc) strncpy(lp->d_packname, sc->sc_model, 16); lp->d_rpm = 3600; lp->d_interleave = 1; + lp->d_version = 1; lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; |