[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/xenstore: add newline for printing of stubdom console messages
commit 00ffefb4059171a920209ea838acb969462ad3ba Author: Juergen Gross <jgross@xxxxxxxx> AuthorDate: Fri Jan 31 15:25:09 2020 +0100 Commit: Wei Liu <wl@xxxxxxx> CommitDate: Fri Jan 31 16:12:37 2020 +0000 tools/xenstore: add newline for printing of stubdom console messages There are several places in xenstore-stubdom where newlines at the end of messages on the console are missing. Add them. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> Acked-by: Wei Liu <wl@xxxxxxx> --- tools/libs/evtchn/minios.c | 1 + tools/xenstore/xenstored_core.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/libs/evtchn/minios.c b/tools/libs/evtchn/minios.c index 414c21ba67..9cd7636fc5 100644 --- a/tools/libs/evtchn/minios.c +++ b/tools/libs/evtchn/minios.c @@ -218,6 +218,7 @@ xenevtchn_port_or_error_t xenevtchn_bind_virq(xenevtchn_handle *xce, unsigned in printf("xenevtchn_bind_virq(%d)", virq); port = bind_virq(virq, evtchn_handler, (void*)(intptr_t)fd); + printf(" = %d\n", port); if (port < 0) { port_dealloc(port_info); diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_core.c index 97ceabf964..551fe38f57 100644 --- a/tools/xenstore/xenstored_core.c +++ b/tools/xenstore/xenstored_core.c @@ -88,7 +88,7 @@ static const char *sockmsg_string(enum xsd_sockmsg_type type); char *s = talloc_asprintf(NULL, __VA_ARGS__); \ if (s) { \ trace("%s\n", s); \ - syslog(LOG_ERR, "%s", s); \ + syslog(LOG_ERR, "%s\n", s); \ talloc_free(s); \ } else { \ trace("talloc failure during logging\n"); \ -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |