The type of fsgid is git_t, and not uid_t. Fix it. ...... .../glibc$ grep_glibc_prototype setfsgid sysdeps/unix/sysv/linux/sys/fsuid.h:31: extern int setfsgid (__gid_t __gid) __THROW; .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/setfsgid.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/setfsgid.2 b/man2/setfsgid.2 index e2d4d09f3..3fd22f3a5 100644 --- a/man2/setfsgid.2 +++ b/man2/setfsgid.2 @@ -36,7 +36,7 @@ setfsgid \- set group identity used for filesystem checks .nf .B #include <sys/fsuid.h> .PP -.BI "int setfsgid(uid_t " fsgid ); +.BI "int setfsgid(gid_t " fsgid ); .fi .SH DESCRIPTION On Linux, a process has both a filesystem group ID and an effective group ID. -- 2.30.0