WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap2: Fix compile warning with gcc4.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 08 Jul 2009 14:15:19 -0700
Delivery-date: Wed, 08 Jul 2009 14:16:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] blktap2: Fix compile warning with gcc4., Xen patchbot-unstable <=