aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/xen_machine_pv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_machine_pv.c b/hw/xen_machine_pv.c
index abfa02c951..fe7d35cf89 100644
--- a/hw/xen_machine_pv.c
+++ b/hw/xen_machine_pv.c
@@ -106,7 +106,7 @@ static void xen_init_pv(ram_addr_t ram_size,
}
/* config cleanup hook */
- exit_notifier_addr(&exit_notifier);
+ exit_notifier_add(&exit_notifier);
/* setup framebuffer */
xen_init_display(xen_domid);