diff options
author | loli10K <[email protected]> | 2019-05-24 22:54:36 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-05-24 13:54:36 -0700 |
commit | 62b2152ecacfe656617054531aa2db4bb84a1ace (patch) | |
tree | c294c180c62842014cd5a4ae293113f27c6c9040 /cmd/zfs/zfs_main.c | |
parent | 0ff5cd07723c23a158d5708cc5127209f37ac777 (diff) |
zfs: missing newline character in zfs_do_channel_program() error message
This commit simply adds a missing newline ("\n") character to the error
message printed by the zfs command when the provided pool parameter
can't be found.
Reviewed-by: Chris Dunlop <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #8783
Diffstat (limited to 'cmd/zfs/zfs_main.c')
-rw-r--r-- | cmd/zfs/zfs_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 2d97988a0..6929a2246 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -28,6 +28,7 @@ * Copyright 2016 Igor Kozhukhov <[email protected]>. * Copyright 2016 Nexenta Systems, Inc. * Copyright (c) 2019 Datto Inc. + * Copyright (c) 2019, loli10K <[email protected]> */ #include <assert.h> @@ -7522,7 +7523,7 @@ zfs_do_channel_program(int argc, char **argv) } if ((zhp = zpool_open(g_zfs, poolname)) == NULL) { - (void) fprintf(stderr, gettext("cannot open pool '%s'"), + (void) fprintf(stderr, gettext("cannot open pool '%s'\n"), poolname); if (fd != 0) (void) close(fd); |