[libvirt] [PATCH v2 3/3] iohelper: Don't include newlines in error messages

Andrea Bolognani abologna at redhat.com
Wed Feb 13 12:04:08 UTC 2019


The newline was pretty arbitrary, and we're better off
without it.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 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);
 }
-- 
2.20.1




More information about the libvir-list mailing list