diff options
| author | aliguori | 2009-04-18 17:36:19 +0200 |
|---|---|---|
| committer | aliguori | 2009-04-18 17:36:19 +0200 |
| commit | 838ab728bfd269593e80ee2f8e98c8138b658e5a (patch) | |
| tree | 3f12d2193c52d08feed0605e1864e8fa9117dfba /linux-user/syscall.c | |
| parent | monitor: Update command help (Jan Kiszka) (diff) | |
| download | qemu-838ab728bfd269593e80ee2f8e98c8138b658e5a.tar.gz qemu-838ab728bfd269593e80ee2f8e98c8138b658e5a.tar.xz qemu-838ab728bfd269593e80ee2f8e98c8138b658e5a.zip | |
qemu-io: Fix handling of bdrv_is_allocated() return value (Kevin Wolf)
bdrv_is_allocated() returns a boolean which indicates if the offset is
allocated, not 0 on success and everything else is an error.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7181 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions
