diff options
author | Ruediger Meier | 2016-10-26 23:04:44 +0200 |
---|---|---|
committer | Ruediger Meier | 2016-10-27 11:03:27 +0200 |
commit | eaaf0e7e378c3f0477008ac2da389c7e3b6652bd (patch) | |
tree | ec5f93dfd567d912d49b0fd36d698a00eb822a3e /libfdisk | |
parent | misc: fix some compiler warnings (diff) | |
download | kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.tar.gz kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.tar.xz kernel-qcow2-util-linux-eaaf0e7e378c3f0477008ac2da389c7e3b6652bd.zip |
misc: once again some printf format strings
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk')
-rw-r--r-- | libfdisk/src/item.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libfdisk/src/item.c b/libfdisk/src/item.c index 31637a1f1..6c98228f4 100644 --- a/libfdisk/src/item.c +++ b/libfdisk/src/item.c @@ -1,4 +1,6 @@ +#include <inttypes.h> + #include "fdiskP.h" /** @@ -219,7 +221,7 @@ static int test_listitems(struct fdisk_test *ts, int argc, char *argv[]) && fdisk_labelitem_get_data_string(item, &str) == 0) printf("%s: %s\n", name, str); else if (fdisk_labelitem_get_data_u64(item, &num) == 0) - printf("%s: %ju\n", name, num); + printf("%s: %"PRIu64"\n", name, num); break; } case 1: /* item unsuported by label -- ignore */ |