aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/af_x25.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/af_x25.c')
-rw-r--r--net/x25/af_x25.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c
index e19d811788a5..38e235f61e27 100644
--- a/net/x25/af_x25.c
+++ b/net/x25/af_x25.c
@@ -501,7 +501,8 @@ out:
501 return sk; 501 return sk;
502} 502}
503 503
504static int x25_create(struct net *net, struct socket *sock, int protocol) 504static int x25_create(struct net *net, struct socket *sock, int protocol,
505 int kern)
505{ 506{
506 struct sock *sk; 507 struct sock *sk;
507 struct x25_sock *x25; 508 struct x25_sock *x25;