From aa4f3bbf2c53a45e315730405f69af32982477cf Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Tue, 5 Feb 2019 15:54:55 +0100 Subject: [PATCH] iohelper: Don't include newlines in error messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The newline was pretty arbitrary, and we're better off without it. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé Reviewed-by: John Ferlan --- src/util/iohelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/iohelper.c b/src/util/iohelper.c index 1ff4a7b314..aed7ef3184 100644 --- a/src/util/iohelper.c +++ b/src/util/iohelper.c @@ -236,7 +236,7 @@ main(int argc, char **argv) return 0; error: - fprintf(stderr, _("%s: failure with %s\n: %s"), + fprintf(stderr, _("%s: failure with %s: %s"), program_name, path, virGetLastErrorMessage()); exit(EXIT_FAILURE); } -- GitLab