diff options
Diffstat (limited to 'libdiskfs/file-syncfs.c')
-rw-r--r-- | libdiskfs/file-syncfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/file-syncfs.c b/libdiskfs/file-syncfs.c index 062a9cb8..c7424708 100644 --- a/libdiskfs/file-syncfs.c +++ b/libdiskfs/file-syncfs.c @@ -17,6 +17,7 @@ #include "priv.h" #include "fs_S.h" +#include <hurd/fsys.h> /* Implement file_syncfs as described in <hurd/fs.defs>. */ kern_return_t @@ -30,7 +31,7 @@ diskfs_S_file_syncfs (struct protid *cred, error_t error; mach_port_t control; - error = fshelp_fetch_control (np, &control); + error = fshelp_fetch_control (&np->transbox, &control); if (!error && (control != MACH_PORT_NULL)) { fsys_syncfs (control, wait, 1); |