From 63efb1d9c4140108ab57e706fa7a90a21e07cfcc Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski Date: Sat, 30 Jul 2011 06:53:39 +0200 Subject: onenand: Add missing brace. Signed-off-by: Andrzej Zaborowski --- hw/onenand.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/onenand.c') diff --git a/hw/onenand.c b/hw/onenand.c index e8d1d4b1a5..b0cbebc178 100644 --- a/hw/onenand.c +++ b/hw/onenand.c @@ -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); -- cgit v1.2.3