mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
blktap2: Fix uninitialised value error.
Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
1 parent
85f817eaa7
commit
bb8aee5927
1 file changed
+1
-1
@@ -1428,7 +1428,7 @@ int tdqcow_get_parent_id(td_driver_t *driver, td_disk_id_t *id)
|
||||
{
|
||||
off_t off;
|
||||
char *buf, *filename;
|
||||
int len, secs, type, err = -EINVAL;
|
||||
int len, secs, type = 0, err = -EINVAL;
|
||||
struct tdqcow_state *child = (struct tdqcow_state *)driver->data;
|
||||
|
||||
if (!child->backing_file_offset)
|
||||
|
||||