]> git.ipfire.org Git - thirdparty/man-pages.git/commit
add_key.2, clock_getres.2, clone.2, futex.2, getdents.2, getpid.2, getrlimit.2, ioctl...
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Mon, 14 Sep 2020 08:44:59 +0000 (10:44 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 15 Sep 2020 05:39:19 +0000 (07:39 +0200)
commit8eb90116f1e3172a4a7c1ae8faf1fa3c294efc72
treeafe98ecc6b3284bc831490155493f98b7ca09b0f
parent6fd153d5401c728539f6237449241418fb1197cc
add_key.2, clock_getres.2, clone.2, futex.2, getdents.2, getpid.2, getrlimit.2, ioctl_ns.2, kcmp.2, keyctl.2, memfd_create.2, request_key.2, stat.2, timer_create.2, wait.2, clock_getcpuclockid.3, dl_iterate_phdr.3, getgrent_r.3, getpwent_r.3, getpwnam.3, posix_spawn.3, pthread_getcpuclockid.3, strcat.3, feature_test_macros.7, user_namespaces.7: Switch printf() casts to use [u]intmax_t + %ju / %jd

Let's move to the 21st century. Instead of casting system data
types to long/long long/etc. in printf() calls, instead cast to
intmax_t or uintmax_t, the largest available signed/unsigned
integer types.

[mtk: rewrote commit message]

Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
25 files changed:
man2/add_key.2
man2/clock_getres.2
man2/clone.2
man2/futex.2
man2/getdents.2
man2/getpid.2
man2/getrlimit.2
man2/ioctl_ns.2
man2/kcmp.2
man2/keyctl.2
man2/memfd_create.2
man2/request_key.2
man2/stat.2
man2/timer_create.2
man2/wait.2
man3/clock_getcpuclockid.3
man3/dl_iterate_phdr.3
man3/getgrent_r.3
man3/getpwent_r.3
man3/getpwnam.3
man3/posix_spawn.3
man3/pthread_getcpuclockid.3
man3/strcat.3
man7/feature_test_macros.7
man7/user_namespaces.7