diff options
-rw-r--r-- | sys/dev/ofw/ofw_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_disk.c b/sys/dev/ofw/ofw_disk.c index 8262e0f..04418a5 100644 --- a/sys/dev/ofw/ofw_disk.c +++ b/sys/dev/ofw/ofw_disk.c @@ -123,7 +123,7 @@ ofwd_open(dev_t dev, int flags, int fmt, struct thread *td) sc->ofwd_disk.d_mediasize = (off_t)33554432 * OFWD_BLOCKSIZE; /* XXX: probably don't need the next two */ sc->ofwd_disk.d_fwsectors = 33554432; - sc->ofwd_disk.d_fwheads = 1 + sc->ofwd_disk.d_fwheads = 1; sc->ofwd_flags |= OFWD_OPEN; return (0); |