diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-01-17 21:45:27 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-01-25 18:18:35 +0100 |
commit | 8937f8222c14ab42140a5645c34e17cc620c05bb (patch) | |
tree | 2d7b59ab122493c5bf509f00f4968a85c1679697 /device_tree.c | |
parent | 9f0470bb2d7942c28977296ff2598cdf30886e07 (diff) |
block/vdi: Improved return values from vdi_open
vdi_open returned -1 in case of any error, but it should return an
error code (negative value of errno or -EMEDIUMTYPE).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions