about summary refs log tree commit diff
path: root/rt/tst-aio5.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-aio5.c')
-rw-r--r--rt/tst-aio5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rt/tst-aio5.c b/rt/tst-aio5.c
index 307550e4f3..67324418c1 100644
--- a/rt/tst-aio5.c
+++ b/rt/tst-aio5.c
@@ -82,6 +82,7 @@ do_test (int argc, char *argv[])
   cb.aio_reqprio = 0;
   cb.aio_buf = (void *) buf;
   cb.aio_nbytes = sizeof (buf) - 1;
+  cb.aio_offset = 0;
   cb.aio_sigevent.sigev_notify = SIGEV_THREAD;
   cb.aio_sigevent.sigev_notify_function = callback;
   cb.aio_sigevent.sigev_notify_attributes = NULL;