aboutsummaryrefslogtreecommitdiffstats
path: root/android/protocol/ui-commands-proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/protocol/ui-commands-proxy.c')
-rw-r--r--android/protocol/ui-commands-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/protocol/ui-commands-proxy.c b/android/protocol/ui-commands-proxy.c
index 76bf883..1aedc62 100644
--- a/android/protocol/ui-commands-proxy.c
+++ b/android/protocol/ui-commands-proxy.c
@@ -116,7 +116,7 @@ _uiCmdProxy_io_func(void* opaque, int fd, unsigned events)
// Try to read
asyncReader_init(&reader, read_buf, sizeof(read_buf), &uicmd->io);
- status = asyncReader_read(&reader, &uicmd->io);
+ status = asyncReader_read(&reader);
// We expect only error status here.
if (status != ASYNC_ERROR) {
derror("Unexpected read status %d in _uiCmdProxy_io_func\n", status);