diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-14 16:21:13 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-05-14 16:21:13 +0200 |
commit | 3a35c7f2f84dde96c42de015cfd5fc44d115a0d7 (patch) | |
tree | 3471b94fb795f4eb7255ef672f68c2fa8667e9fe /examples/nfct-helper-get.c | |
parent | 850be7cc038f39d0293d0478927e4185c327768a (diff) |
examples: fix nfct-helper-add example
to adapt it to the new API
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nfct-helper-get.c')
-rw-r--r-- | examples/nfct-helper-get.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |