From: Benno Schulenberg Date: Sat, 15 Feb 2025 16:18:37 +0000 (+0100) Subject: textual: fix three misspellings of "unsupported" X-Git-Tag: v2.42-start~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c722cb5943c2d1c6560aae8ec586f69df80761ac;p=thirdparty%2Futil-linux.git textual: fix three misspellings of "unsupported" One misspelling was fixed five years ago (in commit 760ecc3613), but the others remained. Fix another spello too, found with `codespell`. Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/mount.c b/sys-utils/mount.c index 7bce9038e..8d0e9ab17 100644 --- a/sys-utils/mount.c +++ b/sys-utils/mount.c @@ -378,7 +378,7 @@ static size_t libmount_mesgs(struct libmnt_context *cxt, char type) break; } - /* messgaes */ + /* Messages */ STRV_FOREACH(s, mesgs) { switch (type) { case 'e': diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c index 4818c6ce4..ba013a3b4 100644 --- a/sys-utils/wdctl.c +++ b/sys-utils/wdctl.c @@ -545,7 +545,7 @@ static int read_watchdog_from_device(struct wd_device *wd) } -/* Returns: <0 error, 0 success, 1 unssuported */ +/* Returns: <0 on error, 0 on success, 1 for unsupported */ static int read_watchdog_from_sysfs(struct wd_device *wd) { struct path_cxt *sys; diff --git a/term-utils/script.c b/term-utils/script.c index 59b640256..78ab3f4ca 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -829,7 +829,7 @@ int main(int argc, char **argv) else if (strcmp(optarg, "always") == 0) echo = 1; else - errx(EXIT_FAILURE, _("unssuported echo mode: '%s'"), optarg); + errx(EXIT_FAILURE, _("unsupported echo mode: '%s'"), optarg); break; case 'e': ctl.rc_wanted = 1; diff --git a/term-utils/scriptlive.c b/term-utils/scriptlive.c index af946a08d..1b0bf96cb 100644 --- a/term-utils/scriptlive.c +++ b/term-utils/scriptlive.c @@ -218,7 +218,7 @@ main(int argc, char *argv[]) else if (strcmp(optarg, "always") == 0) echo = 1; else - errx(EXIT_FAILURE, _("unssuported echo mode: '%s'"), optarg); + errx(EXIT_FAILURE, _("unsupported echo mode: '%s'"), optarg); break; case 't': case 'T':