summaryrefslogtreecommitdiff
path: root/ldpd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/log.c')
-rw-r--r--ldpd/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldpd/log.c b/ldpd/log.c
index b30604db0d..407668bb03 100644
--- a/ldpd/log.c
+++ b/ldpd/log.c
@@ -24,6 +24,7 @@
#include "log.h"
#include <lib/log.h>
+#include <lib/log_int.h>
#include "mpls.h"
static const char * const procnames[] = {
@@ -59,7 +60,7 @@ vlog(int pri, const char *fmt, va_list ap)
ldpe_imsg_compose_parent(IMSG_LOG, pri, buf, strlen(buf) + 1);
break;
case PROC_MAIN:
- vzlog(NULL, pri, fmt, ap);
+ vzlog(pri, fmt, ap);
break;
}
}