projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fmemopen: fix eof handling, hopefully right this time
[oweals/musl.git]
/
src
/
linux
/
setgroups.c
diff --git
a/src/linux/setgroups.c
b/src/linux/setgroups.c
index 4d578013d7cd15e3b7ba14720dbcd5d036028fbc..9758940af2c57eaa4a836d8e34cc34ea073bba3c 100644
(file)
--- a/
src/linux/setgroups.c
+++ b/
src/linux/setgroups.c
@@
-1,7
+1,7
@@
#include <unistd.h>
#include "syscall.h"
-int setgroups(
in
t count, const gid_t list[])
+int setgroups(
size_
t count, const gid_t list[])
{
- return syscall
2(__NR_setgroups, count, (long)
list);
+ return syscall
(SYS_setgroups, count,
list);
}