diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-10-11 14:26:00 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-10-11 14:26:00 +0100 |
commit | c90bc4db252cf5d759ab335d10dd48033485ac26 (patch) | |
tree | 3c810c3fc91319c3d670388b19205dec3c874212 /tools/libxl/libxl_utils.c | |
parent | d3d8d54b13794f9ea5a2b265dd9ce11981b3d8a6 (diff) | |
download | xen-c90bc4db252cf5d759ab335d10dd48033485ac26.tar.gz xen-c90bc4db252cf5d759ab335d10dd48033485ac26.tar.bz2 xen-c90bc4db252cf5d759ab335d10dd48033485ac26.zip |
libxl: expand hard tab stops
I ran the following and committed the result. ^I is an actual hard tab
for i in $(grep -l --exclude=*_[ly].\[ch\] '^I' tools/libxl/*.[ch]) ; do
cat $i | expand | sponge $i
done
There are some actually wrong indentations too, I'll fix those up
manually.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_utils.c')
-rw-r--r-- | tools/libxl/libxl_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl_utils.c b/tools/libxl/libxl_utils.c index 9af254d525..4b4c38574f 100644 --- a/tools/libxl/libxl_utils.c +++ b/tools/libxl/libxl_utils.c @@ -457,7 +457,7 @@ int libxl_mac_to_device_nic(libxl_ctx *ctx, uint32_t domid, rc = libxl__parse_mac(mac, mac_n); if (rc) - return rc; + return rc; nics = libxl_list_nics(ctx, domid, &nb); if (!nics) @@ -509,7 +509,7 @@ int libxl_devid_to_device_nic(libxl_ctx *ctx, uint32_t domid, val = libxl__xs_read(&gc, XBT_NULL, libxl__sprintf(&gc, "%s/mac", nic_path_fe)); rc = libxl__parse_mac(val, nic->mac); if (rc) - goto out; + goto out; nic->script = xs_read(ctx->xsh, XBT_NULL, libxl__sprintf(&gc, "%s/script", nic_path_be), NULL); rc = 0; |