summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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, '/'))) {