diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-04-18 01:34:40 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-25 13:08:18 +0200 |
commit | 346ace4c2f5e020ca654541ff4b34d86faf88a4d (patch) | |
tree | aa9debbc4d1f47fd22b31010b99a55bb538b7c58 /libdiskfs/file-syncfs.c | |
parent | e507800e47973422c080a308955f8d46edc5d706 (diff) |
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.
Diffstat (limited to 'libdiskfs/file-syncfs.c')
-rw-r--r-- | libdiskfs/file-syncfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |