diff options
author | Ruediger Meier | 2018-02-15 22:02:18 +0100 |
---|---|---|
committer | Ruediger Meier | 2018-02-16 11:12:52 +0100 |
commit | 73afd3f8e8793844e8e53f69d819ca740cdfc889 (patch) | |
tree | 7f6748bf84ba5940af9a115bba26c3298c951833 /libfdisk/samples | |
parent | lsns: fix clang compiler warning (diff) | |
download | kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.gz kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.xz kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.zip |
misc: fix typos using codespell
Some more funny typos, please review carefully.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk/samples')
-rw-r--r-- | libfdisk/samples/mkpart-fullspec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdisk/samples/mkpart-fullspec.c b/libfdisk/samples/mkpart-fullspec.c index 01f1ebabe..8b439f7ad 100644 --- a/libfdisk/samples/mkpart-fullspec.c +++ b/libfdisk/samples/mkpart-fullspec.c @@ -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 */ |