From 07a4d4f114774cb6d1c98945f2c7a64e81a34141 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 22 Jul 2005 05:00:27 +0000 Subject: r8704: Patch from Timur Bakeyev to fix typo calling wrong aio_fsync function. Bugid #2909. Jeremy. (This used to be commit 6ea3aadd6630a62d52a9a6e09995b57f55e60d41) --- source3/lib/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/system.c b/source3/lib/system.c index 6ac2cdf243..2565f92c66 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -1938,7 +1938,7 @@ int sys_aio_fsync(int op, SMB_STRUCT_AIOCB *aiocb) #if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_AIOCB64) && defined(HAVE_AIO_FSYNC64) return aio_fsync64(op, aiocb); #elif defined(HAVE_AIO_FSYNC) - return aio_fsync64(op, aiocb); + return aio_fsync(op, aiocb); #else errno = ENOSYS; return -1; -- cgit