qemu-e2k/contrib/vhost-user-scsi
AlexChen 91010f0407 vhost-user-blk/scsi: Fix broken error handling for socket call
When socket() fails, it returns -1, 0 is the normal return value and should not return error.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
Message-Id: <5F9A5B48.9030509@huawei.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-11-17 04:16:55 -05:00
..
meson.build contrib/vhost-user-scsi: convert to Meson 2020-08-21 06:30:09 -04:00
vhost-user-scsi.c vhost-user-blk/scsi: Fix broken error handling for socket call 2020-11-17 04:16:55 -05:00