diff --git a/libc/sys/socket/send.cpp b/libc/sys/socket/send.cpp index c29c2be8..daabc9d1 100644 --- a/libc/sys/socket/send.cpp +++ b/libc/sys/socket/send.cpp @@ -25,7 +25,7 @@ #include #include -DEFN_SYSCALL4(ssize_t, sys_send, SYSCALL_RECV, int, const void*, size_t, int); +DEFN_SYSCALL4(ssize_t, sys_send, SYSCALL_SEND, int, const void*, size_t, int); extern "C" ssize_t send(int fd, const void* buf, size_t count, int flags) {