aboutsummaryrefslogtreecommitdiff
path: root/blockdev-nbd.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-16 14:00:03 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-05-24 00:07:29 +0400
commitaef553fdcabbea8760cd4647ab14859095300023 (patch)
tree40849a5877bda3fdae17ab1f77a4d480514216b9 /blockdev-nbd.c
parent78a4b8d2051bff8e8794e9419b7925122212b096 (diff)
iohandler.c: Properly initialize sigaction struct
The code in qemu_init_child_watch() wasn't clearing the 'struct sigaction' before passing it to sigaction(); this meant that we would block a random set of signals while executing the SIGCHLD handler. Initialize properly by using memset() on the struct, as we do in similar cases elsewhere. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions