Fix test case build

This commit is contained in:
Sebastian Messmer 2017-09-05 00:38:24 +01:00
parent fb2d903379
commit 06e8fc15d4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ int FuseFdatasyncTest::FdatasyncFileReturnError(const char *filename) {
// This is MacOSX, which doesn't know fdatasync
int retval = fcntl(fd->fd(), F_FULLFSYNC);
#else
int retval = ::fdatasync(fd);
int retval = ::fdatasync(fd->fd());
#endif
if (retval != -1) {
return 0;