From 31118c770f1bc822226b8d3f70bad1904552745c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 19 Apr 2010 18:14:45 +0200 Subject: add mnl_nlmsg_fprintf() function for debugging purposes This function is still quite preliminary, comments welcome! Signed-off-by: Pablo Neira Ayuso --- examples/rtnl-link-set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/rtnl-link-set.c b/examples/rtnl-link-set.c index 0a63527..9be6635 100644 --- a/examples/rtnl-link-set.c +++ b/examples/rtnl-link-set.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) } portid = mnl_socket_get_portid(nl); - mnl_nlmsg_print(nlh); + mnl_nlmsg_fprintf(stdout, nlh); if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { perror("mnl_socket_send"); -- cgit v1.2.3