summary refs log tree commit diff stats
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2015-02-25 13:08:16 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2015-03-18 12:05:38 +0100
commit2b1f13b996c3a278ed3d4bf4ce0893f3506fb7cc (patch)
treef1e037533c7f2aefae8d8b3a06412b214a7757ce /qemu-nbd.c
parent453b07b13443713f6a632005977c7ccab17e135d (diff)
downloadfocaccia-qemu-2b1f13b996c3a278ed3d4bf4ce0893f3506fb7cc.tar.gz
focaccia-qemu-2b1f13b996c3a278ed3d4bf4ce0893f3506fb7cc.zip
nbd: Fix nbd_establish_connection()'s return value
unix_connect_opts() and inet_connect_opts() do not necessarily set errno
(if at all); therefore, nbd_establish_connection() should not literally
return -errno on error.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <1424887718-10800-4-git-send-email-mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions