1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-02-23 14:25:44 +01:00
parent aa9f642df2
commit 478db91c3e

View file

@ -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)
{