summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/input-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input-service.c b/input/input-service.c
index 871075a7..4f9345b3 100644
--- a/input/input-service.c
+++ b/input/input-service.c
@@ -374,7 +374,7 @@ static int l2cap_connect(struct pending_connect *pc,
if (bind(sk, (struct sockaddr *) &addr, sizeof(addr)) < 0)
goto failed;
- if (set_nonblocking(sk, NULL) < 0)
+ if (set_nonblocking(sk) < 0)
goto failed;
memset(&opts, 0, sizeof(opts));