summaryrefslogtreecommitdiff
path: root/source3/lib
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
commit07a4d4f114774cb6d1c98945f2c7a64e81a34141 (patch)
tree9163e1cfa27fc46f9ae692135a105ceaaf6f1474 /source3/lib
parent9365669a5988ea67764e051d626f664daf6596eb (diff)
downloadsamba-07a4d4f114774cb6d1c98945f2c7a64e81a34141.tar.gz
samba-07a4d4f114774cb6d1c98945f2c7a64e81a34141.tar.bz2
samba-07a4d4f114774cb6d1c98945f2c7a64e81a34141.zip
r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo
calling wrong aio_fsync function. Bugid #2909. Jeremy. (This used to be commit 6ea3aadd6630a62d52a9a6e09995b57f55e60d41)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
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;