]> git.proxmox.com Git - mirror_qemu.git/blobdiff - iohandler.c
block/parallels: create bat_entry_off helper
[mirror_qemu.git] / iohandler.c
index ae2ef8f9669db23dd004337f382a257e84044ad5..cca614f087f6be5c975dc773c7e6aa6cacc28fe2 100644 (file)
@@ -191,6 +191,7 @@ static void qemu_init_child_watch(void)
     struct sigaction act;
     sigchld_bh = qemu_bh_new(sigchld_bh_handler, NULL);
 
+    memset(&act, 0, sizeof(act));
     act.sa_handler = sigchld_handler;
     act.sa_flags = SA_NOCLDSTOP;
     sigaction(SIGCHLD, &act, NULL);