summaryrefslogtreecommitdiff
path: root/source/include/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r--source/include/vfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h
index 885e7d486b2..fca9f7da84a 100644
--- a/source/include/vfs.h
+++ b/source/include/vfs.h
@@ -129,7 +129,7 @@ struct vfs_ops {
ssize_t (*write)(int fd, char *data, size_t n);
SMB_OFF_T (*lseek)(int filedes, SMB_OFF_T offset, int whence);
int (*rename)(char *old, char *new);
- void (*fsync)(int fd);
+ int (*fsync)(int fd);
int (*stat)(char *fname, SMB_STRUCT_STAT *sbuf);
int (*fstat)(int fd, SMB_STRUCT_STAT *sbuf);
int (*lstat)(char *path, SMB_STRUCT_STAT *sbuf);