From nobody Sat May 4 20:14:33 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1580480756312421.35118480587175; Fri, 31 Jan 2020 06:25:56 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ixXER-0001va-1P; Fri, 31 Jan 2020 14:25:15 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ixXEP-0001vP-LU for xen-devel@lists.xenproject.org; Fri, 31 Jan 2020 14:25:13 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 7d9ee2be-4435-11ea-8bd3-12813bfff9fa; Fri, 31 Jan 2020 14:25:12 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 82FA1AB87; Fri, 31 Jan 2020 14:25:11 +0000 (UTC) X-Inumbo-ID: 7d9ee2be-4435-11ea-8bd3-12813bfff9fa X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Fri, 31 Jan 2020 15:25:09 +0100 Message-Id: <20200131142509.2801-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Subject: [Xen-devel] [PATCH] tools/xenstore: add newline for printing of stubdom console messages X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Ian Jackson , Wei Liu MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" 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 Acked-by: Wei Liu --- 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 =20 printf("xenevtchn_bind_virq(%d)", virq); port =3D bind_virq(virq, evtchn_handler, (void*)(intptr_t)fd); + printf(" =3D %d\n", port); =20 if (port < 0) { port_dealloc(port_info); diff --git a/tools/xenstore/xenstored_core.c b/tools/xenstore/xenstored_cor= e.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 t= ype); char *s =3D 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"); \ --=20 2.16.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel