summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:23 +0930
committerAustin Foxley <austinf@cetoncorp.com>2009-07-09 01:35:39 -0700
commite04942f86c38f31f934632fbb7976a56dd94eb50 (patch)
treedf67d18b72b70d55b66a5267a871a825e5c7c144
parent6c6e6c59b3682d4eda4fbbd52d021e7641a36217 (diff)
downloaduClibc-alpine-e04942f86c38f31f934632fbb7976a56dd94eb50.tar.bz2
uClibc-alpine-e04942f86c38f31f934632fbb7976a56dd94eb50.tar.xz
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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--utils/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ldconfig.c b/utils/ldconfig.c
index d2f47f20c..c30416bb2 100644
--- a/utils/ldconfig.c
+++ b/utils/ldconfig.c
@@ -154,14 +154,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, ...)