summaryrefslogtreecommitdiffstats
path: root/lib/route
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-11-15 23:42:34 (GMT)
committerThomas Graf <tgraf@suug.ch>2012-11-15 23:42:34 (GMT)
commit23c4ef67c735813fd41f66f6722b996d1ad7314a (patch)
treeadd54d965c816cb57d8c08ef172c7a61b007b03b /lib/route
parent235aa7ff17e12ca7a76dcfd77abfe143c2ce4dea (diff)
downloadlibnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.zip
libnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.tar.gz
libnl-23c4ef67c735813fd41f66f6722b996d1ad7314a.tar.bz2
Use NL_DBG() instead of printing warnings and errors to stderr
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib/route')
-rw-r--r--lib/route/classid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/classid.c b/lib/route/classid.c
index 87025a0..255e075 100644
--- a/lib/route/classid.c
+++ b/lib/route/classid.c
@@ -441,7 +441,7 @@ static void __init classid_init(void)
nl_init_list_head(&tbl_name[i]);
if ((err = rtnl_tc_read_classid_file()) < 0)
- fprintf(stderr, "Failed to read classid file: %s\n", nl_geterror(err));
+ NL_DBG(1, "Failed to read classid file: %s\n", nl_geterror(err));
}
static void free_map(void *map) {