]> Git Repo - qemu.git/commit
qemu-io: Fix return value handling of bdrv_open
authorRyota Ozaki <[email protected]>
Sat, 20 Mar 2010 07:08:38 +0000 (16:08 +0900)
committerAurelien Jarno <[email protected]>
Sat, 27 Mar 2010 13:02:53 +0000 (14:02 +0100)
commit06b611c48edb1bf0301c3e7fe49dec2b9feaaf89
tree5abf7744f40317c16d950d11a2ea6770729537ad
parentb6353bea572f8cc0f35fb7dc438ce74c08dda9e7
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 <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
qemu-io.c
This page took 0.024456 seconds and 4 git commands to generate.