[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] blktap2: Fix compile warning with gcc4.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1247047223 -3600
# Node ID e7d4fd3346261a6c929f2ede4324c7928f6d3977
# Parent  5c40f649a6a4855cd423ab1ca7706ee0f2a75b7b
blktap2: Fix compile warning with gcc4.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/blktap2/vhd/lib/vhd-util-check.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 5c40f649a6a4 -r e7d4fd334626 tools/blktap2/vhd/lib/vhd-util-check.c
--- a/tools/blktap2/vhd/lib/vhd-util-check.c    Wed Jul 08 10:58:09 2009 +0100
+++ b/tools/blktap2/vhd/lib/vhd-util-check.c    Wed Jul 08 11:00:23 2009 +0100
@@ -810,6 +810,7 @@ vhd_util_check_vhd(const char *name, int
 
        fd = -1;
        memset(&vhd, 0, sizeof(vhd));
+        memset(&footer, 0, sizeof(footer));
 
        err = stat(name, &stats);
        if (err == -1) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.