1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

LibC: Make setgid() definition protoype match declaration

This commit is contained in:
Nico Weber 2020-06-17 08:59:08 -04:00 committed by Andreas Kling
parent edef6ccff5
commit 9abafa2d1c

View file

@ -463,7 +463,7 @@ int setuid(uid_t uid)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int setgid(uid_t gid)
int setgid(gid_t gid)
{
int rc = syscall(SC_setgid, gid);
__RETURN_WITH_ERRNO(rc, rc, -1);