]> git.ipfire.org Git - thirdparty/qemu.git/commit
Fix error message in drive_init
authorKevin Wolf <kwolf@redhat.com>
Tue, 1 Jun 2010 11:20:57 +0000 (13:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 09:43:40 +0000 (11:43 +0200)
commit236f1f672ca4b5dea70c0c101036224297c53895
treeab5bcbda842edad2487a521711c64de390b5d199
parent552fee931bf52bf60f4210f607a78f415000f015
Fix error message in drive_init

The real error is the return value of bdrv_open. errno might be overwritten or
not even set to that value in the first place.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
vl.c