diff options
author | Eric Andersen | 2001-03-21 21:52:25 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-21 21:52:25 +0000 |
commit | 851895ab80341f80398b93c9ad4aa20fcf463730 (patch) | |
tree | 53abdf274e7255fef7cf3008fcd341f946fdadbe /nfsmount.c | |
parent | 1ca20a77476fb69e2472080ef6ba23c8c0ad12ad (diff) | |
download | busybox-851895ab80341f80398b93c9ad4aa20fcf463730.zip busybox-851895ab80341f80398b93c9ad4aa20fcf463730.tar.gz |
Clean up more local vars which shadow globals
-Erik
Diffstat (limited to 'nfsmount.c')
-rw-r--r-- | nfsmount.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |