aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_dm.c
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@citrix.com>2012-05-10 17:33:59 +0100
committerRoger Pau Monne <roger.pau@citrix.com>2012-05-10 17:33:59 +0100
commit4a831010c83e2229b2dadf4f5027d12e2cc4d5f6 (patch)
tree53edbed4da12de3e2c28573e007c6cb78e114abc /tools/libxl/libxl_dm.c
parenteeb84c462b7bf6e2d893077eb4dd8c42878ebdc7 (diff)
downloadxen-4a831010c83e2229b2dadf4f5027d12e2cc4d5f6.tar.gz
xen-4a831010c83e2229b2dadf4f5027d12e2cc4d5f6.tar.bz2
xen-4a831010c83e2229b2dadf4f5027d12e2cc4d5f6.zip
libxl: fix indentation in libxl_dm.c for qemu
Fixed indentation on Qemu argument construction for network devices. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxl_dm.c')
-rw-r--r--tools/libxl/libxl_dm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 40ab458eac..48c7ed52dc 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -216,8 +216,10 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc,
else
ifname = vifs[i].ifname;
flexarray_vappend(dm_args,
- "-net", libxl__sprintf(gc, "nic,vlan=%d,macaddr=%s,model=%s",
- vifs[i].devid, smac, vifs[i].model),
+ "-net",
+ GCSPRINTF(
+ "nic,vlan=%d,macaddr=%s,model=%s",
+ vifs[i].devid, smac, vifs[i].model),
"-net",
GCSPRINTF(
"tap,vlan=%d,ifname=%s,bridge=%s,"