aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/x25/af_x25.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c
index a41cc0201760..03725c051752 100644
--- a/net/x25/af_x25.c
+++ b/net/x25/af_x25.c
@@ -744,7 +744,7 @@ out:
744 return rc; 744 return rc;
745} 745}
746 746
747static int x25_wait_for_data(struct sock *sk, int timeout) 747static int x25_wait_for_data(struct sock *sk, long timeout)
748{ 748{
749 DECLARE_WAITQUEUE(wait, current); 749 DECLARE_WAITQUEUE(wait, current);
750 int rc = 0; 750 int rc = 0;