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
Notes: sideshowbarker 2024-07-19 09:39:23 +09:00

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);
}
}