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
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
#include <sys/socket.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)
{