From afc8f0a6ffb4dd2dd5e17abc39e035eb7c7bcdc8 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Wed, 18 Sep 2019 12:05:57 -0400 Subject: 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 Reviewed-by: George Melikov Signed-off-by: Ryan Moeller Closes #9330 --- cmd/mount_zfs/mount_zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/mount_zfs') 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); } -- cgit v1.2.3