summaryrefslogtreecommitdiffstats
path: root/cmd/zfs
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2019-09-18 12:05:57 -0400
committerBrian Behlendorf <[email protected]>2019-09-18 09:05:57 -0700
commitafc8f0a6ffb4dd2dd5e17abc39e035eb7c7bcdc8 (patch)
treeabd36d5ce0a915ab44fb70dedcfb1845943dc290 /cmd/zfs
parentdd262c9681793e2bae6528297803e627622801f0 (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/zfs')
-rw-r--r--cmd/zfs/zfs_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index e6b597825..62c5bcca4 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -8308,7 +8308,7 @@ main(int argc, char **argv)
return (zfs_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);
}