]> Git Repo - qemu.git/commitdiff
onenand: Add missing brace.
authorAndrzej Zaborowski <[email protected]>
Sat, 30 Jul 2011 04:53:39 +0000 (06:53 +0200)
committerAndrzej Zaborowski <[email protected]>
Sat, 30 Jul 2011 04:53:39 +0000 (06:53 +0200)
Signed-off-by: Andrzej Zaborowski <[email protected]>
hw/onenand.c

index e8d1d4b1a53dd89f016731b44992a336c7d29a8b..b0cbebc1783ecaf33c8302f6f474543e1879f3c6 100644 (file)
@@ -720,6 +720,7 @@ void *onenand_init(BlockDriverState *bdrv,
     if (!s->bdrv) {
         s->image = memset(qemu_malloc(size + (size >> 5)),
                         0xff, size + (size >> 5));
+    }
     s->otp = memset(qemu_malloc((64 + 2) << PAGE_SHIFT),
                     0xff, (64 + 2) << PAGE_SHIFT);
     s->ram = qemu_ram_alloc(NULL, "onenand.ram", 0xc000 << s->shift);
This page took 0.023794 seconds and 4 git commands to generate.