]> Git Repo - qemu.git/commit
vpc: Fix bdrv_open() error handling
authorKevin Wolf <[email protected]>
Fri, 25 Jan 2013 16:07:29 +0000 (17:07 +0100)
committerStefan Hajnoczi <[email protected]>
Fri, 1 Feb 2013 13:58:28 +0000 (14:58 +0100)
commit59294e465953ffb07d42dc61c827bb98cc0ca423
tree0f428d59372759dab65c46a1cb1371ceffbb1516
parent1a60657f5729bac57e70802eb17e67ad793400fd
vpc: 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/vpc.c
This page took 0.025358 seconds and 4 git commands to generate.