summaryrefslogtreecommitdiff
path: root/libdiskfs/fsys-syncfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/fsys-syncfs.c')
-rw-r--r--libdiskfs/fsys-syncfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/fsys-syncfs.c b/libdiskfs/fsys-syncfs.c
index ccbdf6ed..0ebfe647 100644
--- a/libdiskfs/fsys-syncfs.c
+++ b/libdiskfs/fsys-syncfs.c
@@ -33,6 +33,7 @@ diskfs_S_fsys_syncfs (fsys_t controlport,
helper (struct node *np)
{
error_t error;
+ mach_port_t control;
error = fshelp_fetch_control (np, &control);
if (!error && (control != MACH_PORT_NULL))