1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix send(2) calling sys_recv rather than sys_send.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-23 14:16:57 +01:00
parent 7518b5da12
commit 4227d97f55

View file

@ -25,7 +25,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/syscall.h> #include <sys/syscall.h>
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) extern "C" ssize_t send(int fd, const void* buf, size_t count, int flags)
{ {