diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/setregid.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/setregid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/setregid.c b/sysdeps/unix/sysv/linux/setregid.c index c48e5240ef..b50842b7c0 100644 --- a/sysdeps/unix/sysv/linux/setregid.c +++ b/sysdeps/unix/sysv/linux/setregid.c @@ -23,7 +23,11 @@ int __setregid (gid_t rgid, gid_t egid) { +#ifdef __NR_setregid32 + return INLINE_SETXID_SYSCALL (setregid32, 2, rgid, egid); +#else return INLINE_SETXID_SYSCALL (setregid, 2, rgid, egid); +#endif } #ifndef __setregid weak_alias (__setregid, setregid) |