summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug_s3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug_s3.c b/lib/util/debug_s3.c
index cfb675583c..ccf577f7b5 100644
--- a/lib/util/debug_s3.c
+++ b/lib/util/debug_s3.c
@@ -30,7 +30,7 @@ bool reopen_logs(void)
{
if (lp_loaded()) {
struct debug_settings settings;
- debug_set_logfile(lp_logfile());
+ debug_set_logfile(lp_logfile(talloc_tos()));
ZERO_STRUCT(settings);
settings.max_log_size = lp_max_log_size();