diff options
author | Ryan Moeller <[email protected]> | 2019-09-18 12:05:57 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-18 09:05:57 -0700 |
commit | afc8f0a6ffb4dd2dd5e17abc39e035eb7c7bcdc8 (patch) | |
tree | abd36d5ce0a915ab44fb70dedcfb1845943dc290 /cmd/zinject | |
parent | dd262c9681793e2bae6528297803e627622801f0 (diff) |
Refactor libzfs_error_init newlines
Move the trailing newlines from the error message strings to the format
strings to more closely match the other error messages.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9330
Diffstat (limited to 'cmd/zinject')
-rw-r--r-- | cmd/zinject/zinject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index cff7f861a..1795bfd45 100644 --- a/cmd/zinject/zinject.c +++ b/cmd/zinject/zinject.c @@ -763,7 +763,7 @@ main(int argc, char **argv) uint32_t dvas = 0; if ((g_zfs = libzfs_init()) == NULL) { - (void) fprintf(stderr, "%s", libzfs_error_init(errno)); + (void) fprintf(stderr, "%s\n", libzfs_error_init(errno)); return (1); } |