summaryrefslogtreecommitdiff
path: root/utils/ldconfig.c
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:23 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit95fa074d64848a0e4db471d6546b91ad60048d52 (patch)
tree67409dd584de6f7b8df56ba8a4accb0fec57a0c9 /utils/ldconfig.c
parente0b6a06c8fd8d1b2022e0175cfdcf99246b1e68f (diff)
Don't shadow the err() function with a local var
gcc-4.4 barks about that. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'utils/ldconfig.c')
-rw-r--r--utils/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ldconfig.c b/utils/ldconfig.c
index 3bd7cee36..505316b15 100644
--- a/utils/ldconfig.c
+++ b/utils/ldconfig.c
@@ -127,14 +127,14 @@ static void attribute_noreturn err(int errnum, const char *s, ...)
static void vperror_msg(const char *s, va_list p)
{
- int err = errno;
+ int e = errno;
if (s == 0)
s = "";
verror_msg(s, p);
if (*s)
s = ": ";
- fprintf(stderr, "%s%s\n", s, strerror(err));
+ fprintf(stderr, "%s%s\n", s, strerror(e));
}
static void warn(const char *s, ...)