summaryrefslogtreecommitdiff
path: root/block-migration.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-12-02 18:32:53 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-01-14 17:08:42 -0600
commit6bbb939a8061d189bf29aa2b3ef1a5717380f41a (patch)
tree1e7269b1377b6af463e3a39bf807472e84524b73 /block-migration.c
parent178ed9aad3b189f010f506dfbc86a0ac1efd377e (diff)
downloadqemu-6bbb939a8061d189bf29aa2b3ef1a5717380f41a.tar.gz
block/raw-posix: Fix ret in raw_open_common()
The return value must be negative on error; there is one place in raw_open_common() where errp is set, but ret remains 0. Fix it. Cc: qemu-stable@nongnu.org Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> (cherry picked from commit 01212d4ed68fc8daa29062a9a38650cf8febe392) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'block-migration.c')
0 files changed, 0 insertions, 0 deletions