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 <mav@FreeBSD.org>
Reviewed-by: George Amanakis <gamanakis@gmail.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
Mateusz Piotrowski 2025-02-06 00:53:33 +01:00 committed by GitHub
parent 0be1da26cb
commit 2cccbacefc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8481,19 +8481,19 @@ zpool_do_scrub(int argc, char **argv)
if (is_pause && is_stop) { if (is_pause && is_stop) {
(void) fprintf(stderr, gettext("invalid option " (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); usage(B_FALSE);
} else if (is_pause && is_txg_continue) { } else if (is_pause && is_txg_continue) {
(void) fprintf(stderr, gettext("invalid option " (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); usage(B_FALSE);
} else if (is_stop && is_txg_continue) { } else if (is_stop && is_txg_continue) {
(void) fprintf(stderr, gettext("invalid option " (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); usage(B_FALSE);
} else if (is_error_scrub && is_txg_continue) { } else if (is_error_scrub && is_txg_continue) {
(void) fprintf(stderr, gettext("invalid option " (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); usage(B_FALSE);
} else { } else {
if (is_error_scrub) if (is_error_scrub)