diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-08-11 16:19:52 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-08-11 16:19:52 +0000 |
commit | c471ab6794ad48a571f8658fa1fab6d4ab8cc358 (patch) | |
tree | e4cf58dc4b2689460d0c83e7b9d96d5c8a2cf7d1 /src/ifmonitor.c | |
parent | 9a5162c33017bab6677c528189cff5a501f3822a (diff) |
distcheck works now
build fixes
git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@31 2bf48fe7-cfc1-0310-909f-d9042e1e0fef
Diffstat (limited to 'src/ifmonitor.c')
-rw-r--r-- | src/ifmonitor.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ifmonitor.c b/src/ifmonitor.c index d49160b..83e9bb8 100644 --- a/src/ifmonitor.c +++ b/src/ifmonitor.c @@ -1,4 +1,4 @@ -/* $Id: ifplugd.c 1.12 Sat, 01 Feb 2003 03:00:07 +0100 lennart $ */ +/* $Id$ */ /* * This file is part of ifplugd. @@ -28,6 +28,8 @@ #include <unistd.h> #include <errno.h> +#include <libdaemon/dlog.h> + #include "nlapi.h" static int callback(struct nlmsghdr *n, void *u) { @@ -42,7 +44,7 @@ static int callback(struct nlmsghdr *n, void *u) { i = NLMSG_DATA(n); if (n->nlmsg_len < NLMSG_LENGTH(sizeof(struct ifinfomsg))) { - fprintf(stderr, "NETLINK: Packet too small or truncated! (2)\n"); + daemon_log(LOG_ERR, "NETLINK: Packet too small or truncated! (2)\n"); return -1; } |