Hi Alex, On 9/12/20 1:14 AM, Alejandro Colomar wrote: > 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); Does something similar not also apply as for patch 11, since the short will be promoted to an int in a variadic argument list? Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/