From 62b2152ecacfe656617054531aa2db4bb84a1ace Mon Sep 17 00:00:00 2001 From: loli10K Date: Fri, 24 May 2019 22:54:36 +0200 Subject: 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 Reviewed-by: Giuseppe Di Natale Reviewed-by: Igor Kozhukhov Reviewed-by: George Melikov Signed-off-by: loli10K Closes #8783 --- cmd/zfs/zfs_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/zfs/zfs_main.c') 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 . * Copyright 2016 Nexenta Systems, Inc. * Copyright (c) 2019 Datto Inc. + * Copyright (c) 2019, loli10K */ #include @@ -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); -- cgit v1.2.3