summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mount_zfs/mount_zfs.c2
-rw-r--r--cmd/zfs/zfs_main.c2
-rw-r--r--cmd/zinject/zinject.c2
-rw-r--r--cmd/zpool/zpool_main.c2
4 files changed, 4 insertions, 4 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);
}
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 3dd2b3886..cd8c0aca0 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -8172,7 +8172,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);
}
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);
}
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c
index b9c7462b6..2c5c88e69 100644
--- a/cmd/zpool/zpool_main.c
+++ b/cmd/zpool/zpool_main.c
@@ -9282,7 +9282,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);
}