From 86f792281a9b6cc7b5ef99ae2f18beb3840503e5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 20 Jun 1995 15:54:00 +0000 Subject: Include (diskfs_S_file_syncfs) [helper]: First arg to fshelp_fetch_control should be &NP->transbox, not NP. --- libdiskfs/file-syncfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 /* Implement file_syncfs as described in . */ 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); -- cgit v1.2.3