summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorEric Andersen2001-03-21 21:52:25 +0000
committerEric Andersen2001-03-21 21:52:25 +0000
commit851895ab80341f80398b93c9ad4aa20fcf463730 (patch)
tree53abdf274e7255fef7cf3008fcd341f946fdadbe /util-linux
parent1ca20a77476fb69e2472080ef6ba23c8c0ad12ad (diff)
downloadbusybox-851895ab80341f80398b93c9ad4aa20fcf463730.zip
busybox-851895ab80341f80398b93c9ad4aa20fcf463730.tar.gz
Clean up more local vars which shadow globals
-Erik
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/nfsmount.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 6643ed5..a62df32 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -735,20 +735,20 @@ int nfsmount(const char *spec, const char *node, int *flags,
#endif
} else {
#if NFS_MOUNT_VERSION >= 4
- fhandle3 *fhandle;
+ fhandle3 *my_fhandle;
if (status.nfsv3.fhs_status != 0) {
error_msg("%s:%s failed, reason given by server: %s",
hostname, dirname,
nfs_strerror(status.nfsv3.fhs_status));
goto fail;
}
- fhandle = &status.nfsv3.mountres3_u.mountinfo.fhandle;
+ my_fhandle = &status.nfsv3.mountres3_u.mountinfo.fhandle;
memset(data.old_root.data, 0, NFS_FHSIZE);
memset(&data.root, 0, sizeof(data.root));
- data.root.size = fhandle->fhandle3_len;
+ data.root.size = my_fhandle->fhandle3_len;
memcpy(data.root.data,
- (char *) fhandle->fhandle3_val,
- fhandle->fhandle3_len);
+ (char *) my_fhandle->fhandle3_val,
+ my_fhandle->fhandle3_len);
data.flags |= NFS_MOUNT_VER3;
#endif