From 3a35c7f2f84dde96c42de015cfd5fc44d115a0d7 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 14 May 2012 16:21:13 +0200 Subject: examples: fix nfct-helper-add example to adapt it to the new API Signed-off-by: Pablo Neira Ayuso --- examples/nfct-helper-get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/nfct-helper-get.c') diff --git a/examples/nfct-helper-get.c b/examples/nfct-helper-get.c index 634062a..d3e9dbc 100644 --- a/examples/nfct-helper-get.c +++ b/examples/nfct-helper-get.c @@ -21,7 +21,7 @@ static int nfct_helper_cb(const struct nlmsghdr *nlh, void *data) goto err_free; } - nfct_helper_snprintf(buf, sizeof(buf), nfct_helper, 0); + nfct_helper_snprintf(buf, sizeof(buf), nfct_helper, 0, 0); printf("%s\n", buf); err_free: -- cgit v1.2.3