]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: fix three misspellings of "unsupported"
authorBenno Schulenberg <bensberg@telfort.nl>
Sat, 15 Feb 2025 16:18:37 +0000 (17:18 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Feb 2025 10:07:09 +0000 (11:07 +0100)
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 <bensberg@telfort.nl>
sys-utils/mount.c
sys-utils/wdctl.c
term-utils/script.c
term-utils/scriptlive.c

index 7bce9038e3990bb62c13b66dee3d2369518a600d..8d0e9ab1786c714476a258b695d269edc60711df 100644 (file)
@@ -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':
index 4818c6ce41075f505953a0765e015004ead82ccd..ba013a3b461c3d5afa6ae3c73533a575ebe360b0 100644 (file)
@@ -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;
index 59b640256481d706440e82cfd9277bea1e8f5ebc..78ab3f4ca5de1794f3ca226096e99e4493e045f3 100644 (file)
@@ -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;
index af946a08d05f704426c54d17ba199494f200f3fa..1b0bf96cbaa4ffff800509bd759b88a184fa4b46 100644 (file)
@@ -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':