diff options
author | Karel Zak | 2017-06-02 11:13:39 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-02 11:13:39 +0200 |
commit | 7dec8dfeca14d6bbcf16ab9d8449cb3d003f7f00 (patch) | |
tree | 26e8e994ba357d1bae14b0aaa3daa3ac261b442b /libfdisk/src | |
parent | po: update uk.po (from translationproject.org) (diff) | |
parent | Fix minor typos (diff) | |
download | kernel-qcow2-util-linux-7dec8dfeca14d6bbcf16ab9d8449cb3d003f7f00.tar.gz kernel-qcow2-util-linux-7dec8dfeca14d6bbcf16ab9d8449cb3d003f7f00.tar.xz kernel-qcow2-util-linux-7dec8dfeca14d6bbcf16ab9d8449cb3d003f7f00.zip |
Merge branch 'master' of https://github.com/yurchor/util-linux
* 'master' of https://github.com/yurchor/util-linux:
Fix minor typos
Diffstat (limited to 'libfdisk/src')
-rw-r--r-- | libfdisk/src/gpt.c | 2 |
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; } |