(do_test): aio_offset should be initialized, too.

This commit is contained in:
Ulrich Drepper 2006-01-05 00:26:42 +00:00
parent 9759bbf188
commit 0af5b6adb1

View File

@ -21,6 +21,7 @@ do_test (void)
req.aio_reqprio = 0; req.aio_reqprio = 0;
req.aio_buf = (void *) "hello"; req.aio_buf = (void *) "hello";
req.aio_nbytes = 5; req.aio_nbytes = 5;
req.aio_offset = 0;
req.aio_sigevent.sigev_notify = SIGEV_NONE; req.aio_sigevent.sigev_notify = SIGEV_NONE;
struct aiocb *list[1]; struct aiocb *list[1];