summaryrefslogtreecommitdiff
path: root/libdiskfs/file-syncfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-syncfs.c')
-rw-r--r--libdiskfs/file-syncfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdiskfs/file-syncfs.c b/libdiskfs/file-syncfs.c
index befdfb55..062a9cb8 100644
--- a/libdiskfs/file-syncfs.c
+++ b/libdiskfs/file-syncfs.c
@@ -28,6 +28,7 @@ diskfs_S_file_syncfs (struct protid *cred,
helper (struct node *np)
{
error_t error;
+ mach_port_t control;
error = fshelp_fetch_control (np, &control);
if (!error && (control != MACH_PORT_NULL))