1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:57: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

@ -110,7 +110,7 @@ bool IODevice::can_read_from_fd() const
struct timeval timeout {
0, 0
};
int rc = CSyscallUtils::safe_syscall(select, m_fd + 1, &rfds, nullptr, nullptr, &timeout);
int rc = Core::safe_syscall(select, m_fd + 1, &rfds, nullptr, nullptr, &timeout);
if (rc < 0) {
// NOTE: We don't set m_error here.
perror("IODevice::can_read: select");