]> granicus.if.org Git - zfs/commitdiff
Add missing \n for "invalid optionusage" output
authorkpande <github@tripleback.net>
Fri, 9 Jun 2017 16:51:13 +0000 (12:51 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 9 Jun 2017 16:51:13 +0000 (09:51 -0700)
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: DHE <git@dehacked.net>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Jack Draak <jackdraak@gmail.com>
Signed-off-by: Kash Pande <kash@tripleback.net>
Closes #6203

cmd/zfs/zfs_main.c

index e860e94b16dd428f317be978fc197a67ea9a9724..e8fe6a9fa9bfb60c66a4f956c82b5643f53d1c4c 100644 (file)
@@ -4149,7 +4149,7 @@ zfs_do_receive(int argc, char **argv)
        if (abort_resumable) {
                if (flags.isprefix || flags.istail || flags.dryrun ||
                    flags.resumable || flags.nomount) {
-                       (void) fprintf(stderr, gettext("invalid option"));
+                       (void) fprintf(stderr, gettext("invalid option\n"));
                        usage(B_FALSE);
                }