1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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)
This commit is contained in:
Jeremy Allison 2005-07-22 05:00:27 +00:00 committed by Gerald (Jerry) Carter
parent 9365669a59
commit 07a4d4f114

View File

@ -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;