From 0508f347c87dc479fc2a0d85c3c13efd78aaad7e Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Wed, 24 May 2017 00:22:20 +0300 Subject: [PATCH] Fix minor typos --- libfdisk/src/gpt.c | 2 +- misc-utils/fincore.c | 4 ++-- sys-utils/lsmem.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c index 96e6f21bda..6b894aa232 100644 --- a/libfdisk/src/gpt.c +++ b/libfdisk/src/gpt.c @@ -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; } diff --git a/misc-utils/fincore.c b/misc-utils/fincore.c index 30d5dd1bc6..2a6b147891 100644 --- a/misc-utils/fincore.c +++ b/misc-utils/fincore.c @@ -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")}, }; diff --git a/sys-utils/lsmem.c b/sys-utils/lsmem.c index 1756c75367..0c8adb8296 100644 --- a/sys-utils/lsmem.c +++ b/sys-utils/lsmem.c @@ -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 output columns\n"), out); -- 2.39.5