summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-20 01:05:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-20 01:05:42 +0000
commitdb41827b9d0a0f91b93a15dc0f604c268dcac646 (patch)
tree3a250a67856ad65e9519bfcb80f61d1bab9e5307 /libdiskfs
parent1ce998b95dff881e82df080e7b6c42d6440d12d7 (diff)
(diskfs_S_file_syncfs): Typo.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-syncfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-syncfs.c b/libdiskfs/file-syncfs.c
index 5a5a6802..befdfb55 100644
--- a/libdiskfs/file-syncfs.c
+++ b/libdiskfs/file-syncfs.c
@@ -30,7 +30,7 @@ diskfs_S_file_syncfs (struct protid *cred,
error_t error;
error = fshelp_fetch_control (np, &control);
- if (!error && control != MACH_PORT_NULL)
+ if (!error && (control != MACH_PORT_NULL))
{
fsys_syncfs (control, wait, 1);
mach_port_deallocate (mach_task_self (), control);