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

[Xen-changelog] [xen-unstable] libxl_blktap_devpath: initialize devname to NULL



# 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


 


Rackspace

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