summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:09 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:43:55 -0800
commitae250bb546ff02464c1712916230fc60e9b738a9 (patch)
tree8524fe45fc2b09a7d75a9e65f2e2eccf103bb5e8 /net/socket.c
parent3330fef2dda401d7634d3412f3756c52f52e0d17 (diff)
downloadlinux-stable-ae250bb546ff02464c1712916230fc60e9b738a9.tar.gz
System call wrappers part 07
commit 754fe8d297bfae7b77f7ce866e2fb0c5fb186506 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 76ba80aeac1a..465e5eb0b5c1 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1797,7 +1797,7 @@ out_put:
* Shutdown a socket.
*/
-asmlinkage long sys_shutdown(int fd, int how)
+SYSCALL_DEFINE2(shutdown, int, fd, int, how)
{
int err, fput_needed;
struct socket *sock;