Fix test case build
This commit is contained in:
parent
fb2d903379
commit
06e8fc15d4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user