From 346ace4c2f5e020ca654541ff4b34d86faf88a4d Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sat, 18 Apr 2015 01:34:40 +0200 Subject: libdiskfs: rename `error' variable * libdiskfs/dir-lookup.c (diskfs_S_dir_lookup): Rename `error' to `err'. * libdiskfs/file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. * libdiskfs/file-syncfs.c (diskfs_S_file_syncfs): Likewise. --- libdiskfs/file-syncfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdiskfs/file-syncfs.c') diff --git a/libdiskfs/file-syncfs.c b/libdiskfs/file-syncfs.c index b7d20a88..2faab6ad 100644 --- a/libdiskfs/file-syncfs.c +++ b/libdiskfs/file-syncfs.c @@ -28,12 +28,12 @@ diskfs_S_file_syncfs (struct protid *cred, error_t helper (struct node *np) { - error_t error; + error_t err; mach_port_t control; - error = fshelp_fetch_control (&np->transbox, &control); + err = fshelp_fetch_control (&np->transbox, &control); pthread_mutex_unlock (&np->lock); - if (!error && (control != MACH_PORT_NULL)) + if (!err && (control != MACH_PORT_NULL)) { fsys_syncfs (control, wait, 1); mach_port_deallocate (mach_task_self (), control); -- cgit v1.2.3