diff options
author | Karel Zak | 2013-10-15 13:26:04 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-23 10:46:10 +0200 |
commit | 829f4206fc002f2eec21cf9ea425729c22d12f2f (patch) | |
tree | 630659cf75bf991699ebd0784c759c3a081291d8 /libfdisk/src/ask.c | |
parent | fdisk: add 'M' to access GPT nested protective/hybrid MBR (diff) | |
download | kernel-qcow2-util-linux-829f4206fc002f2eec21cf9ea425729c22d12f2f.tar.gz kernel-qcow2-util-linux-829f4206fc002f2eec21cf9ea425729c22d12f2f.tar.xz kernel-qcow2-util-linux-829f4206fc002f2eec21cf9ea425729c22d12f2f.zip |
libfdisk: fix printf stuff
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/ask.c')
-rw-r--r-- | libfdisk/src/ask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdisk/src/ask.c b/libfdisk/src/ask.c index dd152a1f0..8a5174c7e 100644 --- a/libfdisk/src/ask.c +++ b/libfdisk/src/ask.c @@ -331,7 +331,7 @@ int fdisk_ask_partnum(struct fdisk_context *cxt, size_t *partnum, int wantnew) if (num->low > 0) { /* only one existing partiton, don't ask, return the number */ fdisk_ask_number_set_result(ask, num->low); - fdisk_info(cxt, _("Selected partition %d"), (int) num->low); + fdisk_info(cxt, _("Selected partition %ju"), num->low); } else if (num->low == 0) { fdisk_warnx(cxt, _("No partition is defined yet!")); @@ -343,7 +343,7 @@ int fdisk_ask_partnum(struct fdisk_context *cxt, size_t *partnum, int wantnew) if (num->low > 0) { /* only one free partition, don't ask, return the number */ fdisk_ask_number_set_result(ask, num->low); - fdisk_info(cxt, _("Selected partition %d"), (int) num->low); + fdisk_info(cxt, _("Selected partition %ju"), num->low); } if (num->low == 0) { fdisk_warnx(cxt, _("No free partition available!")); |