]> git.proxmox.com Git - qemu.git/commit
compatfd.c: Don't pass NULL pointer to SYS_signalfd
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Oct 2011 17:45:37 +0000 (18:45 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Fri, 21 Oct 2011 16:01:35 +0000 (18:01 +0200)
commit7f84c1272b601be88daeb828ec1890890c7aae25
tree2fe17da7738d5bfd0b6ff165981b746be084845e
parent1386d4c0f5ce4c4391f2024a36c77eb8fb152e90
compatfd.c: Don't pass NULL pointer to SYS_signalfd

Don't pass a NULL pointer in to SYS_signalfd in qemu_signalfd_available():
this isn't valid and Valgrind complains about it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
compatfd.c