diff options
author | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-09-12 01:14:06 +0200 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-09-13 08:07:05 +0200 |
commit | adb20841091bc467a9560db90b36e4f61a43d6c5 (patch) | |
tree | 34a098c488ecf43605ccf37764f42d8c5652054e /man7 | |
parent | 1bdfc7fc425f5b1e395a2bc8347ad485e2d6de43 (diff) | |
download | man-pages-adb20841091bc467a9560db90b36e4f61a43d6c5.tar.gz |
rtld-audit.7: Use "%u" rather than "%d" when printing 'unsigned int' values
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7')
-rw-r--r-- | man7/rtld-audit.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man7/rtld-audit.7 b/man7/rtld-audit.7 index f90731261e..b1b7dfebc1 100644 --- a/man7/rtld-audit.7 +++ b/man7/rtld-audit.7 @@ -508,7 +508,7 @@ This is reportedly fixed in glibc 2.10. unsigned int la_version(unsigned int version) { - printf("la_version(): %d\en", version); + printf("la_version(): %u\en", version); return version; } @@ -572,7 +572,7 @@ la_symbind32(Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook, { printf("la_symbind32(): symname = %s; sym\->st_value = %p\en", symname, sym\->st_value); - printf(" ndx = %d; flags = %#x", ndx, *flags); + printf(" ndx = %u; flags = %#x", ndx, *flags); printf("; refcook = %p; defcook = %p\en", refcook, defcook); return sym\->st_value; @@ -584,7 +584,7 @@ la_symbind64(Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook, { printf("la_symbind64(): symname = %s; sym\->st_value = %p\en", symname, sym\->st_value); - printf(" ndx = %d; flags = %#x", ndx, *flags); + printf(" ndx = %u; flags = %#x", ndx, *flags); printf("; refcook = %p; defcook = %p\en", refcook, defcook); return sym\->st_value; |