iohelper: Don't include newlines in error messages

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>
This commit is contained in:
Andrea Bolognani 2019-02-05 15:54:55 +01:00
parent 1d2a62b2e0
commit aa4f3bbf2c

View 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);
}