]> git.ipfire.org Git - thirdparty/util-linux.git/commit
misc: fix printf i386 compiler warnings
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 9 Mar 2016 16:56:58 +0000 (17:56 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Sat, 12 Mar 2016 10:28:03 +0000 (11:28 +0100)
commite1a15f8f686df21281ee8e20349f4d8579a8a9e0
treec95fda9c4a7f9f3d91a2433f6288804d1d7fbb2f
parent8c97556ecfc0af358d35dc7a842aaadde5eeafd3
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>
libfdisk/src/alignment.c
sys-utils/lsns.c