summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-rw-r--r--rt/tst-aio2.c1
-rw-r--r--rt/tst-aio3.c1
-rw-r--r--rt/tst-aio4.c1
-rw-r--r--rt/tst-aio5.c1
-rw-r--r--rt/tst-aio6.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/rt/tst-aio2.c b/rt/tst-aio2.c
index c628691693..ebd12fa951 100644
--- a/rt/tst-aio2.c
+++ b/rt/tst-aio2.c
@@ -59,6 +59,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 = thrfct;
cb.aio_sigevent.sigev_notify_attributes = NULL;
diff --git a/rt/tst-aio3.c b/rt/tst-aio3.c
index ea257771c6..766771c217 100644
--- a/rt/tst-aio3.c
+++ b/rt/tst-aio3.c
@@ -58,6 +58,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 = thrfct;
cb.aio_sigevent.sigev_notify_attributes = NULL;
diff --git a/rt/tst-aio4.c b/rt/tst-aio4.c
index 1bcf335090..ebe9285cb1 100644
--- a/rt/tst-aio4.c
+++ b/rt/tst-aio4.c
@@ -96,6 +96,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_SIGNAL;
cb.aio_sigevent.sigev_notify_function = NULL;
cb.aio_sigevent.sigev_notify_attributes = NULL;
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;
diff --git a/rt/tst-aio6.c b/rt/tst-aio6.c
index 9ba08348f8..dabd947d0b 100644
--- a/rt/tst-aio6.c
+++ b/rt/tst-aio6.c
@@ -54,6 +54,7 @@ do_test (void)
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_NONE;
/* Try to read from stdin where nothing will be available. */