]> xenbits.xensource.com Git - libvirt.git/commitdiff
iohelper: Don't include newlines in error messages
authorAndrea Bolognani <abologna@redhat.com>
Tue, 5 Feb 2019 14:54:55 +0000 (15:54 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 19 Feb 2019 14:59:19 +0000 (15:59 +0100)
The newline was pretty arbitrary, and we're better off
without it.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/iohelper.c

index 1ff4a7b314019594540e5e5a1ddbb9018aa1f74c..aed7ef31849f395b4ed9165c835ca84d9a133a9d 100644 (file)
@@ -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);
 }