summaryrefslogtreecommitdiff
path: root/source/lib/system.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-07-22 05:00:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:15 -0500
commit6ea3aadd6630a62d52a9a6e09995b57f55e60d41 (patch)
treeb96e7edb0cc1d6a482f1176ec4236c8cee262fec /source/lib/system.c
parent3b505a824365222352be6a5ad2fb26586415a7a3 (diff)
downloadsamba-6ea3aadd6630a62d52a9a6e09995b57f55e60d41.tar.gz
r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909. Jeremy.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index 6ac2cdf2433..2565f92c668 100644
--- a/source/lib/system.c
+++ b/source/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;