summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-23 17:27:57 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-23 17:19:01 +0100
commit177df3c25b455d616e922853eef3d52dae739077 (patch)
tree54553708c357f23d07448034983e0f75138962ad /source3
parent67fa593aded2e84829217de42ab4d3a0c766fe4a (diff)
downloadsamba-177df3c25b455d616e922853eef3d52dae739077.tar.gz
samba-177df3c25b455d616e922853eef3d52dae739077.tar.bz2
samba-177df3c25b455d616e922853eef3d52dae739077.zip
s3: Fix a shadowed declaration warning
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 17:19:01 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dumpcore.c6
1 files changed, 3 insertions, 3 deletions
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, '/'))) {