Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> --- man2/pidfd_open.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 0256d6d8c..c51e9fd67 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -253,7 +253,8 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - printf("Events (%#x): POLLIN is %sset\en", pollfd.revents, + printf("Events (%#x): POLLIN is %sset\en", + (unsigned int) pollfd.revents, (pollfd.revents & POLLIN) ? "" : "not "); close(pidfd); -- 2.28.0