diff options
author | Ryota Ozaki | 2010-03-20 07:23:22 +0100 |
---|---|---|
committer | Aurelien Jarno | 2010-03-27 13:56:17 +0100 |
commit | a16c174c51e7cd896c701d5d0e8329e610e90ce1 (patch) | |
tree | 2ca6b0d68c10a634e668cce178d3317207029f1e /linux-user/qemu.h | |
parent | balloon: Fix overflow when reporting actual memory size (diff) | |
download | qemu-a16c174c51e7cd896c701d5d0e8329e610e90ce1.tar.gz qemu-a16c174c51e7cd896c701d5d0e8329e610e90ce1.tar.xz qemu-a16c174c51e7cd896c701d5d0e8329e610e90ce1.zip |
qemu-nbd: 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 'linux-user/qemu.h')
0 files changed, 0 insertions, 0 deletions