Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 01212d4) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
- Loading branch information