]> git.proxmox.com Git - qemu.git/blobdiff - vl.c
notifier: switch to QLIST
[qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index 9609d2bee81ea02fe8f62b98095d76f45a7b6d86..d8a521afe25c882c7b14ee9632e74ef4c7d053b8 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -2093,7 +2093,7 @@ void qemu_add_exit_notifier(Notifier *notify)
 
 void qemu_remove_exit_notifier(Notifier *notify)
 {
-    notifier_list_remove(&exit_notifiers, notify);
+    notifier_remove(notify);
 }
 
 static void qemu_run_exit_notifiers(void)