debuggers.hg
changeset 22048:6469a683b174
libxl_blktap_devpath: initialize devname to NULL
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author | Stefano Stabellini <sstabellini@xensource.com> |
---|---|
date | Mon Aug 16 18:05:07 2010 +0100 (2010-08-16) |
parents | 0b6f82eaaea9 |
children | 98c3fb500e72 |
files | tools/libxl/libxl_blktap2.c |
line diff
1.1 --- a/tools/libxl/libxl_blktap2.c Mon Aug 16 17:15:04 2010 +0100 1.2 +++ b/tools/libxl/libxl_blktap2.c Mon Aug 16 18:05:07 2010 +0100 1.3 @@ -29,7 +29,7 @@ const char *libxl_blktap_devpath(libxl_g 1.4 libxl_disk_phystype phystype) 1.5 { 1.6 const char *type; 1.7 - char *params, *devname; 1.8 + char *params, *devname = NULL; 1.9 int minor, err; 1.10 1.11 type = device_disk_string_of_phystype(phystype);