diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/setgroups.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setgroups.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/setgroups.c b/sysdeps/unix/sysv/linux/i386/setgroups.c index 38e62a8217..ad2a6b5493 100644 --- a/sysdeps/unix/sysv/linux/i386/setgroups.c +++ b/sysdeps/unix/sysv/linux/i386/setgroups.c @@ -17,9 +17,12 @@ Boston, MA 02111-1307, USA. */ #include <errno.h> -#include <sys/types.h> -#include <unistd.h> #include <grp.h> +#include <unistd.h> +#include <sys/types.h> + +#include <sysdep.h> +#include <sys/syscall.h> #include <linux/posix_types.h> @@ -45,5 +48,6 @@ setgroups (n, groups) return -1; } } - return __syscall_setgroups (n, kernel_groups); + + return INLINE_SYSCALL (setgroups, 2, n, kernel_groups); } |