summaryrefslogtreecommitdiff
path: root/libdiskfs/fsys-syncfs.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 15:56:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 15:56:07 +0000
commit512efcd6d2ef9f7435079d2edd40fe2033d762b4 (patch)
treef9acd1439dadec8160e8bc8d3f90c464ae86e946 /libdiskfs/fsys-syncfs.c
parent5ff104d34ceb44e4bd8accb407dcaac6ab5e0952 (diff)
Include <hurd/fsys.h>.
(diskfs_S_fsys_syncfs): Fix first arg to fshelp_fetch_control.
Diffstat (limited to 'libdiskfs/fsys-syncfs.c')
-rw-r--r--libdiskfs/fsys-syncfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/fsys-syncfs.c b/libdiskfs/fsys-syncfs.c
index 0ebfe647..bf70fea8 100644
--- a/libdiskfs/fsys-syncfs.c
+++ b/libdiskfs/fsys-syncfs.c
@@ -20,6 +20,7 @@
#include "priv.h"
#include "fsys_S.h"
+#include <hurd/fsys.h>
/* Implement fsys_syncfs as described in <hurd/fsys.defs>. */
kern_return_t
@@ -35,7 +36,7 @@ diskfs_S_fsys_syncfs (fsys_t controlport,
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);