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/zpool | |
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/zpool')
-rw-r--r-- | cmd/zpool/zpool_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 5ffde8bf3..c28560a15 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -9757,7 +9757,7 @@ main(int argc, char **argv) return (zpool_do_version(argc, argv)); 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); } |