summary refs log tree commit diff stats
path: root/hw/xen_machine_pv.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen_machine_pv.c')
-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);