s3: Fix a shadowed declaration warning
[samba.git] / 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, '/'))) {