summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 15:54:00 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 15:54:00 +0000
commit86f792281a9b6cc7b5ef99ae2f18beb3840503e5 (patch)
tree8c99fa873ac7e45fda2a1f05b1ea5f66cedc075a
parent50d2a0d2a9130d627794fc8ef31ac97fccc94afa (diff)
Include <hurd/fsys.h>
(diskfs_S_file_syncfs) [helper]: First arg to fshelp_fetch_control should be &NP->transbox, not NP.
-rw-r--r--libdiskfs/file-syncfs.c3
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);