diff options
Diffstat (limited to 'src/run.c')
-rw-r--r-- | src/run.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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; } |