summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-12 17:01:48 +0000
committerJim Meyering <jim@meyering.net>2003-01-12 17:01:48 +0000
commit376e8891237ec1a6cefa3112e0a8a9af3c0ad516 (patch)
tree0a50cab8042c844fbbf20a772300fc24686bce65 /lib
parentcce1b154480a10c2964a36be0cf1748dd5db82a6 (diff)
downloadcoreutils-376e8891237ec1a6cefa3112e0a8a9af3c0ad516.tar.xz
(ftw_startup): Rename local-shadowing local to pacify gcc.
Diffstat (limited to 'lib')
-rw-r--r--lib/ftw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftw.c b/lib/ftw.c
index 77dface8b..a3679db7f 100644
--- a/lib/ftw.c
+++ b/lib/ftw.c
@@ -634,10 +634,10 @@ ftw_startup (const char *dir, int is_nftw, void *func, int descriptors,
/* Return to the start directory (if necessary). */
if (cwd != NULL)
{
- int save_err = errno;
+ int saved_errno = errno;
__chdir (cwd);
free (cwd);
- __set_errno (save_err);
+ __set_errno (saved_errno);
}
/* Free all memory. */