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
1 changed files with 1 additions and 1 deletions

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