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:
parent
7518b5da12
commit
4227d97f55
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue