]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - libfdisk/samples/mkpart-fullspec.c
misc: fix typos using codespell
[thirdparty/util-linux.git] / libfdisk / samples / mkpart-fullspec.c
index 01f1ebabe11d6d8dc96f12034fa09776063f1840..8b439f7adb57d8b386d341d4e5b0af6be742c290 100644 (file)
@@ -127,13 +127,13 @@ int main(int argc, char *argv[])
                if (*str == '-') {
                        /* partno unspecified */
                        if (sscanf(str, "-,%"SCNu64",%"SCNu64"", &start, &size) != 2)
-                               errx(EXIT_FAILURE, "faild to parse %s", str);
+                               errx(EXIT_FAILURE, "failed to parse %s", str);
                        fdisk_partition_partno_follow_default(pa, 1);
                        fdisk_partition_unset_partno(pa);
                } else {
                        /* partno specified */
                        if (sscanf(str, "%u,%"SCNu64",%"SCNu64"", &partno, &start, &size) != 3)
-                               errx(EXIT_FAILURE, "faild to parse %s", str);
+                               errx(EXIT_FAILURE, "failed to parse %s", str);
 
                        fdisk_partition_partno_follow_default(pa, 0);
                        fdisk_partition_set_partno(pa, partno - 1);     /* library uses 0..n */