summaryrefslogtreecommitdiff
path: root/src/io_queue_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io_queue_wait.c')
-rw-r--r--src/io_queue_wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io_queue_wait.c b/src/io_queue_wait.c
index a39bc47..075f5ab 100644
--- a/src/io_queue_wait.c
+++ b/src/io_queue_wait.c
@@ -25,7 +25,7 @@
struct timespec;
-int io_queue_wait(io_context_t ctx, struct timespec *timeout)
+int io_queue_wait(io_context_t ctx, const struct timespec *timeout)
{
return vsys_io_getevents(ctx, 0, NULL, timeout);
}