(do_test): aio_offset should be initialized, too.
authorUlrich Drepper <drepper@redhat.com>
Thu, 5 Jan 2006 00:26:42 +0000 (00:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 5 Jan 2006 00:26:42 +0000 (00:26 +0000)
rt/tst-aio8.c

index 531a08a..b03639d 100644 (file)
@@ -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];