|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] qemu-trad: fix indentation
No functional change introduced.
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |