summaryrefslogtreecommitdiffstats
path: root/libfdisk/src
diff options
context:
space:
mode:
authorYuri Chornoivan2017-05-23 23:22:20 +0200
committerYuri Chornoivan2017-05-23 23:22:20 +0200
commit0508f347c87dc479fc2a0d85c3c13efd78aaad7e (patch)
tree91a1cd4f13aaade1a448500bb3bbfb0c51a028e7 /libfdisk/src
parentlibblkid: (docs) add missing 'since' tags (diff)
downloadkernel-qcow2-util-linux-0508f347c87dc479fc2a0d85c3c13efd78aaad7e.tar.gz
kernel-qcow2-util-linux-0508f347c87dc479fc2a0d85c3c13efd78aaad7e.tar.xz
kernel-qcow2-util-linux-0508f347c87dc479fc2a0d85c3c13efd78aaad7e.zip
Fix minor typos
Diffstat (limited to 'libfdisk/src')
-rw-r--r--libfdisk/src/gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c
index 96e6f21bd..6b894aa23 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;
}