aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pidfd_open.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/pidfd_open.2')
-rw-r--r--man2/pidfd_open.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2
index ecdb98b1bb..0256d6d8cd 100644
--- a/man2/pidfd_open.2
+++ b/man2/pidfd_open.2
@@ -253,7 +253,7 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- printf("Events (0x%x): POLLIN is %sset\en", pollfd.revents,
+ printf("Events (%#x): POLLIN is %sset\en", pollfd.revents,
(pollfd.revents & POLLIN) ? "" : "not ");
close(pidfd);