From a77b6398edc577cff8d6d225ed1227dee42439cd Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Thu, 6 Feb 2025 00:53:33 +0100 Subject: [PATCH] Fix typos in zpool_do_scrub() error messages (#17028) Sponsored-by: Wasabi Technology, Inc. Sponsored-by: Klara, Inc. Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org> Reviewed-by: Alexander Motin Reviewed-by: George Amanakis Reviewed-by: George Melikov Reviewed-by: Tony Hutter --- cmd/zpool/zpool_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 506427a10..5fcf0991d 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -8481,19 +8481,19 @@ zpool_do_scrub(int argc, char **argv) if (is_pause && is_stop) { (void) fprintf(stderr, gettext("invalid option " - "combination :-s and -p are mutually exclusive\n")); + "combination: -s and -p are mutually exclusive\n")); usage(B_FALSE); } else if (is_pause && is_txg_continue) { (void) fprintf(stderr, gettext("invalid option " - "combination :-p and -C are mutually exclusive\n")); + "combination: -p and -C are mutually exclusive\n")); usage(B_FALSE); } else if (is_stop && is_txg_continue) { (void) fprintf(stderr, gettext("invalid option " - "combination :-s and -C are mutually exclusive\n")); + "combination: -s and -C are mutually exclusive\n")); usage(B_FALSE); } else if (is_error_scrub && is_txg_continue) { (void) fprintf(stderr, gettext("invalid option " - "combination :-e and -C are mutually exclusive\n")); + "combination: -e and -C are mutually exclusive\n")); usage(B_FALSE); } else { if (is_error_scrub)