summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/debug.c b/src/util/debug.c
index 1db3693a1..b66de07b4 100644
--- a/src/util/debug.c
+++ b/src/util/debug.c
@@ -203,7 +203,6 @@ void debug_fn(const char *file,
const char *format, ...)
{
va_list ap;
- va_list ap_fallback;
struct timeval tv;
struct tm *tm;
char datetime[20];
@@ -211,6 +210,7 @@ void debug_fn(const char *file,
#ifdef WITH_JOURNALD
errno_t ret;
+ va_list ap_fallback;
if (!debug_file) {
/* If we are not outputting logs to files, we should be sending them