diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-04-19 09:17:02 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-04-19 09:17:02 +0200 |
commit | c7348a9ff855ba2cdb5412fe3709f1214264b42a (patch) | |
tree | e92399d7c14e73032c90b874fa381a57bb202a83 /tools | |
parent | 21c31a811ca1705b71417fab520d9b39ae2ab3a7 (diff) | |
download | xen-c7348a9ff855ba2cdb5412fe3709f1214264b42a.tar.gz xen-c7348a9ff855ba2cdb5412fe3709f1214264b42a.tar.bz2 xen-c7348a9ff855ba2cdb5412fe3709f1214264b42a.zip |
libxl: fix build error after 21c31a81
"libxl: Fix SEGV in network-attach" dropped a necessary &.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'tools')
-rw-r--r-- | 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 fbc6c07b72..3c2e1b2175 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 { |