summaryrefslogtreecommitdiff
path: root/source4/lib/util/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util/debug.c')
-rw-r--r--source4/lib/util/debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/util/debug.c b/source4/lib/util/debug.c
index 2c40064b75..fa781c823a 100644
--- a/source4/lib/util/debug.c
+++ b/source4/lib/util/debug.c
@@ -117,12 +117,13 @@ _PUBLIC_ void do_debug(const char *format, ...) _PRINTF_ATTRIBUTE(1,2)
free(s);
}
+_PUBLIC_ const char *logfile = NULL;
+
/**
reopen the log file (usually called because the log file name might have changed)
*/
_PUBLIC_ void reopen_logs(void)
{
- const char *logfile = lp_logfile();
char *fname = NULL;
int old_fd = state.fd;