]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix minor typos
authorYuri Chornoivan <yurchor@ukr.net>
Tue, 23 May 2017 21:22:20 +0000 (00:22 +0300)
committerYuri Chornoivan <yurchor@ukr.net>
Tue, 23 May 2017 21:22:20 +0000 (00:22 +0300)
libfdisk/src/gpt.c
misc-utils/fincore.c
sys-utils/lsmem.c

index 96e6f21bdad03cfe3c66b3b1b76da791ff46d9fb..6b894aa232c0287a403850beb3efc00e01ef296c 100644 (file)
@@ -2628,7 +2628,7 @@ int fdisk_gpt_set_npartitions(struct fdisk_context *cxt, uint32_t entries)
        /* calculate the size (bytes) of the entries array */
        rc = gpt_calculate_sizeof_ents(gpt->pheader, entries, &new_size);
        if (rc) {
-               fdisk_warnx(cxt, _("The number of the partition has be smaller than %zu."),
+               fdisk_warnx(cxt, _("The number of the partition has to be smaller than %zu."),
                                UINT32_MAX / le32_to_cpu(gpt->pheader->sizeof_partition_entry));
                return rc;
        }
index 30d5dd1bc639eb35004f591907a44e1692829347..2a6b1478917878c680624d890a967d50ec43f811 100644 (file)
@@ -58,8 +58,8 @@ enum {
 };
 
 static struct colinfo infos[] = {
-       [COL_PAGES]  = { "PAGES",    1, SCOLS_FL_RIGHT, N_("file data residend in memory in pages")},
-       [COL_RES]    = { "RES",      5, SCOLS_FL_RIGHT, N_("file data residend in memory in bytes")}, 
+       [COL_PAGES]  = { "PAGES",    1, SCOLS_FL_RIGHT, N_("file data resident in memory in pages")},
+       [COL_RES]    = { "RES",      5, SCOLS_FL_RIGHT, N_("file data resident in memory in bytes")}, 
        [COL_SIZE]   = { "SIZE",     5, SCOLS_FL_RIGHT, N_("size of the file")},
        [COL_FILE]   = { "FILE",     4, 0, N_("file name")},
 };
index 1756c753670cd5ec9c45396191d7c2136155d297..0c8adb82967f6f21dd76ac4c343fe23bdeec7f0f 100644 (file)
@@ -376,7 +376,7 @@ static void __attribute__((__noreturn__)) lsmem_usage(FILE *out)
        fputs(USAGE_OPTIONS, out);
        fputs(_(" -J, --json           use JSON output format\n"), out);
        fputs(_(" -P, --pairs          use key=\"value\" output format\n"), out);
-       fputs(_(" -a, --all            list each individiual memory block\n"), out);
+       fputs(_(" -a, --all            list each individual memory block\n"), out);
        fputs(_(" -b, --bytes          print SIZE in bytes rather than in human readable format\n"), out);
        fputs(_(" -n, --noheadings     don't print headings\n"), out);
        fputs(_(" -o, --output <list>  output columns\n"), out);