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] libxl_blktap_devpath: initialize devname

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl_blktap_devpath: initialize devname to NULL
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Aug 2010 07:01:02 -0700
Delivery-date: Wed, 18 Aug 2010 07:06:22 -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 Stefano Stabellini <sstabellini@xxxxxxxxxxxxx>
# Date 1281978307 -3600
# Node ID 6469a683b17436c5774a55b89dc6302bbc9c4009
# Parent  0b6f82eaaea98be1080ad9a956be4e6d0ac0a883
libxl_blktap_devpath: initialize devname to NULL

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_blktap2.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0b6f82eaaea9 -r 6469a683b174 tools/libxl/libxl_blktap2.c
--- a/tools/libxl/libxl_blktap2.c       Mon Aug 16 17:15:04 2010 +0100
+++ b/tools/libxl/libxl_blktap2.c       Mon Aug 16 18:05:07 2010 +0100
@@ -29,7 +29,7 @@ const char *libxl_blktap_devpath(libxl_g
                                  libxl_disk_phystype phystype)
 {
     const char *type;
-    char *params, *devname;
+    char *params, *devname = NULL;
     int minor, err;
 
     type = device_disk_string_of_phystype(phystype);

_______________________________________________
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] libxl_blktap_devpath: initialize devname to NULL, Xen patchbot-unstable <=