1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57:43 +00:00

LibC: Fix misplaced brace

It doesn't really make a difference since waitpid() is declared to have
extern "C" linkage in the header anyway, but still.
This commit is contained in:
Sergey Bugaev 2020-02-05 19:12:14 +03:00 committed by Andreas Kling
parent 1e0d57a13f
commit aafa5a9d09

View file

@ -35,10 +35,10 @@ pid_t wait(int* wstatus)
{
return waitpid(-1, wstatus, 0);
}
}
pid_t waitpid(pid_t waitee, int* wstatus, int options)
{
int rc = syscall(SC_waitpid, waitee, wstatus, options);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
}