diff options
| author | Max Reitz <mreitz@redhat.com> | 2014-12-02 18:32:53 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2014-12-10 10:31:20 +0100 |
| commit | 01212d4ed68fc8daa29062a9a38650cf8febe392 (patch) | |
| tree | 74e2a858baef9745f37d98a61551f5aaa609558c /qemu-timer.c | |
| parent | 6a69b9620ac1562a067990d87284a85552bfd61b (diff) | |
| download | focaccia-qemu-01212d4ed68fc8daa29062a9a38650cf8febe392.tar.gz focaccia-qemu-01212d4ed68fc8daa29062a9a38650cf8febe392.zip | |
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>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions