1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

vfs_commit: print warning when no fsync support is there

this one was part of an old patch from jpeach.
This commit is contained in:
Björn Jacke 2009-12-13 21:56:28 +01:00
parent c01f443ebc
commit 350db0bf25

View File

@ -88,6 +88,8 @@ static int commit_do(
#elif HAVE_FSYNC
result = fsync(fd);
#else
DEBUG(0, ("%s: WARNING: no commit support on this platform\n",
MODULE));
result = 0
#endif
if (result == 0) {