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

[Xen-changelog] [xen stable-4.1] libxl: fix build error after 21c31a81



commit c7348a9ff855ba2cdb5412fe3709f1214264b42a
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Apr 19 09:17:02 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Apr 19 09:17:02 2013 +0200

    libxl: fix build error after 21c31a81
    
    "libxl: Fix SEGV in network-attach" dropped a necessary &.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 tools/libxl/libxl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c
index fbc6c07..3c2e1b2 100644
--- a/tools/libxl/libxl.c
+++ b/tools/libxl/libxl.c
@@ -1207,7 +1207,7 @@ int libxl_device_nic_add(libxl_ctx *ctx, uint32_t domid, 
libxl_device_nic *nic)
             goto out_free;
         }
         if (!(l = libxl__xs_directory(&gc, XBT_NULL,
-                                     libxl__sprintf(gc, "%s/device/vif", 
dompath), &nb)) ||
+                                      libxl__sprintf(&gc, "%s/device/vif", 
dompath), &nb)) ||
             nb == 0) {
             nic->devid = 0;
         } else {
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.1

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.