1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typo

calling wrong aio_fsync function. Bugid #2909.
Jeremy.
This commit is contained in:
Jeremy Allison 2005-07-22 05:00:27 +00:00 committed by Gerald (Jerry) Carter
parent 3b505a8243
commit 6ea3aadd66

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;