mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix setgid(2) calling sys_getgid rather than sys_setgid.
This commit is contained in:
parent
aa9f642df2
commit
478db91c3e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
DEFN_SYSCALL1(gid_t, sys_setgid, SYSCALL_GETGID, gid_t);
|
||||
DEFN_SYSCALL1(gid_t, sys_setgid, SYSCALL_SETGID, gid_t);
|
||||
|
||||
extern "C" int setgid(gid_t gid)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue