tools/xenstore: add newline for printing of stubdom console messages
PATCH 1/1 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 <[email protected]>
--- tools/libs/evtchn/minios.c | 1 + tools/xenstore/xenstored_core.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
tools/libs/evtchn/minios.c +1 -0
@@ -218,6 +218,7 @@ xenevtchn_port_or_error_t xenevtchn_bind_virq(xenevtchn_handle *xce, unsigned inprintf ("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);
tools/xenstore/xenstored_core.c +1 -1
@@ -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" ); \
Signature · 7 lines
2.16.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Juergen Gross
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 <[email protected]>
Acked-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel