diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:54:00 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-20 15:54:00 +0000 |
commit | 86f792281a9b6cc7b5ef99ae2f18beb3840503e5 (patch) | |
tree | 8c99fa873ac7e45fda2a1f05b1ea5f66cedc075a /libdiskfs | |
parent | 50d2a0d2a9130d627794fc8ef31ac97fccc94afa (diff) |
Include <hurd/fsys.h>
(diskfs_S_file_syncfs) [helper]: First arg to fshelp_fetch_control
should be &NP->transbox, not NP.
Diffstat (limited to 'libdiskfs')
-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); |