From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH 2/2] libxl: fix indentation in libxl_dm.c for qemu Date: Thu, 10 May 2012 13:19:03 +0100 Message-ID: <1336652343-12279-2-git-send-email-roger.pau@citrix.com> References: <1336652343-12279-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336652343-12279-1-git-send-email-roger.pau@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Roger Pau Monne List-Id: xen-devel@lists.xenproject.org Fixed indentation on Qemu argument construction for network devices. Signed-off-by: Roger Pau Monne --- tools/libxl/libxl_dm.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 0d7524c..c0d7ca1 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -213,8 +213,10 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc, domid, vifs[i].devid, LIBXL_NIC_TYPE_IOEMU); 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," -- 1.7.7.5 (Apple Git-26)