]> Git Repo - qemu.git/commit
bochs: Fix bdrv_open() error handling
authorKevin Wolf <[email protected]>
Fri, 25 Jan 2013 16:07:27 +0000 (17:07 +0100)
committerStefan Hajnoczi <[email protected]>
Fri, 1 Feb 2013 13:58:28 +0000 (14:58 +0100)
commit5b7d7dfd198f06ec5edd0c857291c5035c5c060f
tree96c41f84e07159f1d01b82861ccddae9f2e8bed3
parent6f74c260b45a8f94007929c800d95c2303f1a7ec
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/bochs.c
This page took 0.024901 seconds and 4 git commands to generate.