X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=net%2Fsocket.c;h=abf56b2a14f9bc0a9f7c83fbcabaa2e97b3eca37;hb=8f98f6f5d68028018d2362c13b5527c920d9115f;hp=1b1e7e6a960faae2bf7e4aa2625a2cebc2d49a20;hpb=40e9963e622cf28ecef258e3dddb04457b65681c;p=mirror_ubuntu-bionic-kernel.git diff --git a/net/socket.c b/net/socket.c index 1b1e7e6a960f..abf56b2a14f9 100644 --- a/net/socket.c +++ b/net/socket.c @@ -1880,8 +1880,8 @@ out: * Receive a datagram from a socket. */ -asmlinkage long sys_recv(int fd, void __user *ubuf, size_t size, - unsigned int flags) +SYSCALL_DEFINE4(recv, int, fd, void __user *, ubuf, size_t, size, + unsigned int, flags) { return sys_recvfrom(fd, ubuf, size, flags, NULL, NULL); }