diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-04-26 13:45:30 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-04-26 17:54:22 +0200 |
commit | b3adf53a3a10a1ca8347167907e4cf8bbd0204f1 (patch) | |
tree | 656e6728dfa8c369f90a5134fe33197ee5ac5469 /hw/apm.c | |
parent | ec4a804792ea20f716371a0a661efc9ec15c7ff0 (diff) |
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 'hw/apm.c')
0 files changed, 0 insertions, 0 deletions