From f156d51b35485befb6aa9b750ab9fe462e25dd56 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 26 May 2012 15:06:29 +0200 Subject: src: add new parameter type to nfct_timeout_snprintf Thus, we can extend this interface to support the timeout policy in XML output in the future. Signed-off-by: Pablo Neira Ayuso --- examples/nfct-timeout-get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/nfct-timeout-get.c b/examples/nfct-timeout-get.c index 211dedb..b2f62d0 100644 --- a/examples/nfct-timeout-get.c +++ b/examples/nfct-timeout-get.c @@ -32,7 +32,7 @@ static int timeout_cb(const struct nlmsghdr *nlh, void *data) goto err_free; } - nfct_timeout_snprintf(buf, sizeof(buf), t, 0); + nfct_timeout_snprintf(buf, sizeof(buf), t, NFCT_TIMEOUT_O_DEFAULT, 0); printf("%s\n", buf); err_free: -- cgit v1.2.3