[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] blktap2: Fix uninitialised value error.
# HG changeset patch # User Keir Fraser <keir@xxxxxxx> # Date 1336645319 -3600 # Node ID cb82b5aa73bd1fbc36920afb2dbaf6207b8aa0b4 # Parent 83a02f225bde5ca7c51a483381cfc4ce5eae9800 blktap2: Fix uninitialised value error. Signed-off-by: Keir Fraser <keir@xxxxxxx> --- diff -r 83a02f225bde -r cb82b5aa73bd tools/blktap2/drivers/block-qcow.c --- a/tools/blktap2/drivers/block-qcow.c Thu May 10 11:20:04 2012 +0100 +++ b/tools/blktap2/drivers/block-qcow.c Thu May 10 11:21:59 2012 +0100 @@ -1428,7 +1428,7 @@ int tdqcow_get_parent_id(td_driver_t *dr { 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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |