summaryrefslogtreecommitdiff
path: root/src/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/run.c b/src/run.c
index 3b50ac8..6ae8b9d 100644
--- a/src/run.c
+++ b/src/run.c
@@ -116,16 +116,15 @@ init(void)
}
if (nl_init_event_handler() == -1) {
- dlog(STATE(log), LOG_ERR, "can't open netlink handler: %s",
- strerror(errno));
- dlog(STATE(log), LOG_ERR, "no ctnetlink kernel support?");
+ dlog(LOG_ERR, "can't open netlink handler: %s", strerror(errno));
+ dlog(LOG_ERR, "no ctnetlink kernel support?");
return -1;
}
if (nl_init_dump_handler() == -1) {
- dlog(STATE(log), LOG_ERR, "can't open netlink handler: %s",
+ dlog(LOG_ERR, "can't open netlink handler: %s",
strerror(errno));
- dlog(STATE(log), LOG_ERR, "no ctnetlink kernel support?");
+ dlog(LOG_ERR, "no ctnetlink kernel support?");
return -1;
}