diff options
Diffstat (limited to 'sys/dev/flash.c')
-rw-r--r-- | sys/dev/flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/flash.c b/sys/dev/flash.c index 3f1ff5b4b62..9824c2a03fd 100644 --- a/sys/dev/flash.c +++ b/sys/dev/flash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flash.c,v 1.6 2007/06/07 05:29:43 deraadt Exp $ */ +/* $OpenBSD: flash.c,v 1.7 2007/06/08 05:27:58 deraadt Exp $ */ /* * Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org> @@ -992,6 +992,7 @@ flashgetdefaultlabel(dev_t dev, struct flash_softc *sc, /* Fake hardware characteristics. */ lp->d_rpm = 3600; lp->d_interleave = 1; + lp->d_version = 1; /* XXX these values assume ffs. */ lp->d_bbsize = BBSIZE; |