summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-04-26 13:45:30 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-04-26 17:54:22 +0200
commitb3adf53a3a10a1ca8347167907e4cf8bbd0204f1 (patch)
tree656e6728dfa8c369f90a5134fe33197ee5ac5469 /qga/commands-posix.c
parentec4a804792ea20f716371a0a661efc9ec15c7ff0 (diff)
downloadfocaccia-qemu-b3adf53a3a10a1ca8347167907e4cf8bbd0204f1.tar.gz
focaccia-qemu-b3adf53a3a10a1ca8347167907e4cf8bbd0204f1.zip
nbd: Fix uninitialised use of s->sock
s->sock is assigned only afterwards, so we're really registering an
aio_fd_handler for file descriptor 0 here. Not exactly what we intended.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions