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

LibCore: Merge the CSyscallUtils namespace into Core

This commit is contained in:
Andreas Kling 2020-02-06 15:04:57 +01:00
parent d17e23bd27
commit 258d798b34
4 changed files with 5 additions and 5 deletions

View file

@ -382,7 +382,7 @@ void EventLoop::wait_for_event(WaitMode mode)
should_wait_forever = false;
}
int marked_fd_count = CSyscallUtils::safe_syscall(select, max_fd + 1, &rfds, &wfds, nullptr, should_wait_forever ? nullptr : &timeout);
int marked_fd_count = Core::safe_syscall(select, max_fd + 1, &rfds, &wfds, nullptr, should_wait_forever ? nullptr : &timeout);
if (FD_ISSET(s_wake_pipe_fds[0], &rfds)) {
char buffer[32];
auto nread = read(s_wake_pipe_fds[0], buffer, sizeof(buffer));