mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
qemu-io: Fix return value handling of bdrv_open
bdrv_open may return -errno so we have to check if the return value is '< 0', not '== -1'. Signed-off-by: Ryota Ozaki <ozaki.ryota@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
b6353bea57
commit
06b611c48e
Loading…
Reference in New Issue
Block a user