diff --git a/libs/libc/src/unistd.cpp b/libs/libc/src/unistd.cpp index ebe2a8a4..4841f861 100644 --- a/libs/libc/src/unistd.cpp +++ b/libs/libc/src/unistd.cpp @@ -82,7 +82,7 @@ extern "C" ssize_t write(int fd, const void* buf, size_t count) { - return syscall(SYS_write, fd, count, buf); // yes, our read() syscall is in the wrong order. + return syscall(SYS_write, fd, count, buf); // yes, our write() syscall is in the wrong order. } int close(int fd)