about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-05 00:26:42 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-05 00:26:42 +0000
commit0af5b6adb15ef147a98dba61eda7f14f0d296e2d (patch)
treee338bf6407431210a709df350080e4795af772d8
parent9759bbf188a13130bf8384694d24ac5493830d13 (diff)
downloadglibc-0af5b6adb15ef147a98dba61eda7f14f0d296e2d.tar.gz
glibc-0af5b6adb15ef147a98dba61eda7f14f0d296e2d.tar.xz
glibc-0af5b6adb15ef147a98dba61eda7f14f0d296e2d.zip
(do_test): aio_offset should be initialized, too.
-rw-r--r--rt/tst-aio8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rt/tst-aio8.c b/rt/tst-aio8.c
index 531a08ac27..b03639dabd 100644
--- a/rt/tst-aio8.c
+++ b/rt/tst-aio8.c
@@ -21,6 +21,7 @@ do_test (void)
   req.aio_reqprio = 0;
   req.aio_buf = (void *) "hello";
   req.aio_nbytes = 5;
+  req.aio_offset = 0;
   req.aio_sigevent.sigev_notify = SIGEV_NONE;
 
   struct aiocb *list[1];