Hi Alex, See my reply to patch 05. Thanks, Michael On 9/12/20 1:14 AM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> > --- > man3/getgrent_r.3 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3 > index 76deec370..8170cd417 100644 > --- a/man3/getgrent_r.3 > +++ b/man3/getgrent_r.3 > @@ -174,6 +174,7 @@ in the stream with all other threads. > #define _GNU_SOURCE > #include <grp.h> > #include <stdio.h> > +#include <stdint.h> > #include <stdlib.h> > #define BUFLEN 4096 > > @@ -189,7 +190,7 @@ main(void) > i = getgrent_r(&grp, buf, sizeof(buf), &grpp); > if (i) > break; > - printf("%s (%d):", grpp\->gr_name, grpp\->gr_gid); > + printf("%s (%jd):", grpp\->gr_name, (intmax_t) grpp\->gr_gid); > for (int j = 0; ; j++) { > if (grpp\->gr_mem[j] == NULL) > break; > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/