aboutsummaryrefslogtreecommitdiff
path: root/hw/mac_nvram.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mac_nvram.c')
-rw-r--r--hw/mac_nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mac_nvram.c b/hw/mac_nvram.c
index 73011455ec..1c2121c2e8 100644
--- a/hw/mac_nvram.c
+++ b/hw/mac_nvram.c
@@ -142,7 +142,7 @@ MacIONVRAMState *macio_nvram_init (int *mem_index, target_phys_addr_t size,
*mem_index = s->mem_index;
register_savevm("macio_nvram", -1, 1, macio_nvram_save, macio_nvram_load,
s);
- qemu_register_reset(macio_nvram_reset, 0, s);
+ qemu_register_reset(macio_nvram_reset, s);
macio_nvram_reset(s);
return s;