diff options
Diffstat (limited to 'source4/lib/cmdline')
-rw-r--r-- | source4/lib/cmdline/popt_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c index 33959874b7..fb6ba722de 100644 --- a/source4/lib/cmdline/popt_common.c +++ b/source4/lib/cmdline/popt_common.c @@ -99,9 +99,9 @@ static void popt_common_callback(poptContext con, case 'l': if (arg) { - char *logfile = talloc_asprintf(NULL, "%s/log.%s", arg, pname); - lp_set_cmdline("log file", logfile); - talloc_free(logfile); + char *new_logfile = talloc_asprintf(NULL, "%s/log.%s", arg, pname); + lp_set_cmdline("log file", new_logfile); + talloc_free(new_logfile); } break; |