summaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorRyota Ozaki2010-03-20 08:08:38 +0100
committerAurelien Jarno2010-03-27 14:02:53 +0100
commit06b611c48edb1bf0301c3e7fe49dec2b9feaaf89 (patch)
tree5abf7744f40317c16d950d11a2ea6770729537ad /qemu-timer.c
parentqemu-nbd: Fix invalid usage of the first argument of errx (diff)
downloadqemu-06b611c48edb1bf0301c3e7fe49dec2b9feaaf89.tar.gz
qemu-06b611c48edb1bf0301c3e7fe49dec2b9feaaf89.tar.xz
qemu-06b611c48edb1bf0301c3e7fe49dec2b9feaaf89.zip
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>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions