summaryrefslogtreecommitdiffstats
path: root/cmd/mount_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/mount_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/mount_zfs')
-rw-r--r--cmd/mount_zfs/mount_zfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mount_zfs/mount_zfs.c b/cmd/mount_zfs/mount_zfs.c
index a9b1e166b..a37dd6f53 100644
--- a/cmd/mount_zfs/mount_zfs.c
+++ b/cmd/mount_zfs/mount_zfs.c
@@ -489,7 +489,7 @@ main(int argc, char **argv)
zfsutil = 1;
if ((g_zfs = libzfs_init()) == NULL) {
- (void) fprintf(stderr, "%s", libzfs_error_init(errno));
+ (void) fprintf(stderr, "%s\n", libzfs_error_init(errno));
return (MOUNT_SYSERR);
}