diff options
author | Ruediger Meier | 2016-03-09 17:56:58 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-03-12 11:28:03 +0100 |
commit | e1a15f8f686df21281ee8e20349f4d8579a8a9e0 (patch) | |
tree | c95fda9c4a7f9f3d91a2433f6288804d1d7fbb2f /libfdisk/src/alignment.c | |
parent | build-sys: release++ (v2.28-rc1) (diff) | |
download | kernel-qcow2-util-linux-e1a15f8f686df21281ee8e20349f4d8579a8a9e0.tar.gz kernel-qcow2-util-linux-e1a15f8f686df21281ee8e20349f4d8579a8a9e0.tar.xz kernel-qcow2-util-linux-e1a15f8f686df21281ee8e20349f4d8579a8a9e0.zip |
misc: fix printf i386 compiler warnings
Still a few printf warnings found on i386 Linux:
libfdisk/src/alignment.c: In function 'fdisk_align_lba':
libfdisk/src/alignment.c:115:3: warning: format '%ju' expects argument of type 'uintmax_t', but argument 6 has type 'long unsigned int' [-Wformat]
sys-utils/lsns.c: In function ‘add_namespace’:
sys-utils/lsns.c:346:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘ino_t’ [-Wformat]
sys-utils/lsns.c: In function ‘add_process_to_namespace’:
sys-utils/lsns.c:362:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘ino_t’ [-Wformat]
sys-utils/lsns.c: In function ‘add_scols_line’:
sys-utils/lsns.c:440:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘ino_t’ [-Wformat]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk/src/alignment.c')
-rw-r--r-- | libfdisk/src/alignment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdisk/src/alignment.c b/libfdisk/src/alignment.c index 24f1db957..aa082e189 100644 --- a/libfdisk/src/alignment.c +++ b/libfdisk/src/alignment.c @@ -112,7 +112,7 @@ fdisk_sector_t fdisk_align_lba(struct fdisk_context *cxt, fdisk_sector_t lba, in } if (lba != res) - DBG(CXT, ul_debugobj(cxt, "LBA %ju -aligned-%s-> %ju [grain=%jus]", + DBG(CXT, ul_debugobj(cxt, "LBA %ju -aligned-%s-> %ju [grain=%lus]", (uintmax_t) lba, direction == FDISK_ALIGN_UP ? "up" : direction == FDISK_ALIGN_DOWN ? "down" : "near", |