aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-09-12 01:14:09 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-09-13 08:07:05 +0200
commit1bdfc7fc425f5b1e395a2bc8347ad485e2d6de43 (patch)
treec88e5bb2d8e9f46da42a18b9d5aca01694306592
parent982dfed192b9bcdf24aec84bad7639b28833bc0e (diff)
downloadman-pages-1bdfc7fc425f5b1e395a2bc8347ad485e2d6de43.tar.gz
open_by_handle_at.2: 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>
-rw-r--r--man2/open_by_handle_at.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2
index fb89406960..53c8c79688 100644
--- a/man2/open_by_handle_at.2
+++ b/man2/open_by_handle_at.2
@@ -600,7 +600,7 @@ main(int argc, char *argv[])
for later reuse by t_open_by_handle_at.c */
printf("%d\en", mount_id);
- printf("%d %d ", fhp\->handle_bytes, fhp\->handle_type);
+ printf("%u %d ", fhp\->handle_bytes, fhp\->handle_type);
for (int j = 0; j < fhp\->handle_bytes; j++)
printf(" %02x", fhp\->f_handle[j]);
printf("\en");