summaryrefslogtreecommitdiffstats
path: root/lib/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/attr.c')
-rw-r--r--lib/attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/attr.c b/lib/attr.c
index a095649..1601061 100644
--- a/lib/attr.c
+++ b/lib/attr.c
@@ -253,7 +253,7 @@ int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len,
int type = nla_type(nla);
if (type == 0) {
- fprintf(stderr, "Illegal nla->nla_type == 0\n");
+ NL_DBG(1, "Illegal nla->nla_type == 0\n");
continue;
}
@@ -269,7 +269,7 @@ int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len,
}
if (rem > 0)
- fprintf(stderr, "netlink: %d bytes leftover after parsing "
+ NL_DBG(1, "netlink: %d bytes leftover after parsing "
"attributes.\n", rem);
err = 0;