From: Stefano Stabellini Subject: Re: [PATCH] qemu-trad: fix indentation Date: Tue, 31 Mar 2015 10:23:16 +0100 Message-ID: References: <1427719075-9150-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YcsPX-000894-9w for xen-devel@lists.xenproject.org; Tue, 31 Mar 2015 09:24:39 +0000 In-Reply-To: <1427719075-9150-1-git-send-email-wei.liu2@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: Wei Liu Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 30 Mar 2015, Wei Liu wrote: > No functional change introduced. > > Signed-off-by: Wei Liu Acked-by: Stefano Stabellini > hw/xen_console.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/hw/xen_console.c b/hw/xen_console.c > index 80beb31..ef6dfab 100644 > --- a/hw/xen_console.c > +++ b/hw/xen_console.c > @@ -201,13 +201,13 @@ static int con_init(struct XenDevice *xendev) > } > qemu_free(type); > > - output = xenstore_read_str(con->console, "output"); > - /* output is a pty by default */ > - if (output == NULL) > - output = "pty"; > - snprintf(label, sizeof(label), "xencons%d", con->xendev.dev); > - con->chr = qemu_chr_open(label, output, NULL); > - xenstore_store_pv_console_info(con->xendev.dev, con->chr, output); > + output = xenstore_read_str(con->console, "output"); > + /* output is a pty by default */ > + if (output == NULL) > + output = "pty"; > + snprintf(label, sizeof(label), "xencons%d", con->xendev.dev); > + con->chr = qemu_chr_open(label, output, NULL); > + xenstore_store_pv_console_info(con->xendev.dev, con->chr, output); > > return 0; > } > -- > 1.9.1 >