mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:47:34 +00:00
LibC: Make setgid() definition protoype match declaration
This commit is contained in:
parent
edef6ccff5
commit
9abafa2d1c
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ int setuid(uid_t uid)
|
||||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
int setgid(uid_t gid)
|
int setgid(gid_t gid)
|
||||||
{
|
{
|
||||||
int rc = syscall(SC_setgid, gid);
|
int rc = syscall(SC_setgid, gid);
|
||||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue