blktap2: Fix uninitialised value error.

Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Keir Fraser committed 2012-05-10 11:21:59 +01:00
1 parent 85f817eaa7
commit bb8aee5927
1 file changed
+1 -1
+1 -1
View File
@@ -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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.