summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/log.c')
-rw-r--r--sysdep/unix/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/log.c b/sysdep/unix/log.c
index cc15ff3..15f6815 100644
--- a/sysdep/unix/log.c
+++ b/sysdep/unix/log.c
@@ -207,10 +207,10 @@ log_init(int debug, int init)
}
void
-log_switch(list *l)
+log_switch(int debug, list *l)
{
if (EMPTY_LIST(*l))
- log_init(0, 0);
+ log_init(debug, 0);
else
current_log_list = l;
}