From d65ddb3495d5a35e1b00ec6fde71d6f0475264be Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 5 Aug 1999 00:10:40 +0000 Subject: Update. * rt/aio_fsync.c: Likewise. --- rt/aio_read64.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rt/aio_read64.c') diff --git a/rt/aio_read64.c b/rt/aio_read64.c index b194dda..0006ad6 100644 --- a/rt/aio_read64.c +++ b/rt/aio_read64.c @@ -1,5 +1,5 @@ /* Asynchronous read, 64bit offset version. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -27,5 +27,6 @@ int aio_read64 (aiocbp) struct aiocb64 *aiocbp; { - return __aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ64) != NULL; + return (__aio_enqueue_request ((aiocb_union *) aiocbp, LIO_READ64) == NULL + ? -1 : 0); } -- cgit v1.1