s3: Fix a shadowed declaration warning
authorVolker Lendecke <vl@samba.org>
Wed, 23 Mar 2011 16:27:57 +0000 (17:27 +0100)
committerVolker Lendecke <vlendec@samba.org>
Wed, 23 Mar 2011 16:19:01 +0000 (17:19 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 23 17:19:01 CET 2011 on sn-devel-104

source3/lib/dumpcore.c

index 505d9490e1be95dc478a3abd540c99d12ced684c..59a891205afec61ceea10b9fa90952a2820a8001 100644 (file)
@@ -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, '/'))) {