diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/setgroups.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/setgroups.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/setgroups.c b/sysdeps/unix/sysv/linux/setgroups.c index 25fad17..c556ebb 100644 --- a/sysdeps/unix/sysv/linux/setgroups.c +++ b/sysdeps/unix/sysv/linux/setgroups.c @@ -28,8 +28,9 @@ int setgroups (size_t n, const gid_t *groups) { #ifdef __NR_setgroups32 -# error "wrong setgroups.c file used" -#endif + return INLINE_SETXID_SYSCALL (setgroups32, 2, n, groups); +#else return INLINE_SETXID_SYSCALL (setgroups, 2, n, groups); +#endif } libc_hidden_def (setgroups) |