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:
parent
1e0d57a13f
commit
aafa5a9d09
Notes:
sideshowbarker
2024-07-19 09:39:23 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/aafa5a9d096 Pull-request: https://github.com/SerenityOS/serenity/pull/1183 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue