diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-01-25 17:07:27 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-01 14:58:28 +0100 |
commit | 5b7d7dfd198f06ec5edd0c857291c5035c5c060f (patch) | |
tree | 96c41f84e07159f1d01b82861ccddae9f2e8bed3 /block/cloop.c | |
parent | 6f74c260b45a8f94007929c800d95c2303f1a7ec (diff) |
bochs: Fix bdrv_open() error handling
Return -errno instead of -1 on errors. While touching the
code, fix a memory leak.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/cloop.c')
0 files changed, 0 insertions, 0 deletions