From 177df3c25b455d616e922853eef3d52dae739077 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 23 Mar 2011 17:27:57 +0100 Subject: s3: Fix a shadowed declaration warning Autobuild-User: Volker Lendecke Autobuild-Date: Wed Mar 23 17:19:01 CET 2011 on sn-devel-104 --- source3/lib/dumpcore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/lib/dumpcore.c b/source3/lib/dumpcore.c index 505d9490e1..59a891205a 100644 --- a/source3/lib/dumpcore.c +++ b/source3/lib/dumpcore.c @@ -218,13 +218,13 @@ static char *get_corepath(const char *logbase, const char *progname) make all the preparations to safely dump a core file ********************************************************************/ -void dump_core_setup(const char *progname, const char *logfile) +void dump_core_setup(const char *progname, const char *log_file) { char *logbase = NULL; char *end = NULL; - if (logfile && *logfile) { - if (asprintf(&logbase, "%s", logfile) < 0) { + if (log_file && *log_file) { + if (asprintf(&logbase, "%s", log_file) < 0) { return; } if ((end = strrchr_m(logbase, '/'))) { -- cgit