summaryrefslogtreecommitdiff
path: root/libtrivfs/file-sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/file-sync.c')
-rw-r--r--libtrivfs/file-sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtrivfs/file-sync.c b/libtrivfs/file-sync.c
index b7d1b07f..ffdaf4d2 100644
--- a/libtrivfs/file-sync.c
+++ b/libtrivfs/file-sync.c
@@ -16,9 +16,10 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "fs_S.h"
error_t
-diskfs_S_file_sync (struct protid *cred,
+diskfs_S_file_sync (struct trivfs_protid *cred,
int wait)
{
return cred ? file_sync (cred->realnode, wait) : EOPNOTSUPP;