summaryrefslogtreecommitdiff
path: root/libtrivfs/file-syncfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/file-syncfs.c')
-rw-r--r--libtrivfs/file-syncfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtrivfs/file-syncfs.c b/libtrivfs/file-syncfs.c
index 5e74b2af..cb112781 100644
--- a/libtrivfs/file-syncfs.c
+++ b/libtrivfs/file-syncfs.c
@@ -18,10 +18,10 @@
#include "priv.h"
#include "fs_S.h"
-error_t
+kern_return_t
trivfs_S_file_syncfs (struct trivfs_protid *cred,
int wait,
int dochildren)
{
- return cred ? file_sync (cred->realnod, wait) : EOPNOTSUPP;
+ return cred ? file_sync (cred->realnode, wait) : EOPNOTSUPP;
}