summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/nfacct-get.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/nfacct-get.c b/examples/nfacct-get.c
index cc5c65d..b542b08 100644
--- a/examples/nfacct-get.c
+++ b/examples/nfacct-get.c
@@ -21,7 +21,8 @@ static int nfacct_cb(const struct nlmsghdr *nlh, void *data)
goto err_free;
}
- nfacct_snprintf(buf, sizeof(buf), nfacct, NFACCT_SNPRINTF_F_FULL);
+ nfacct_snprintf(buf, sizeof(buf), nfacct,
+ NFACCT_SNPRINTF_T_PLAIN, NFACCT_SNPRINTF_F_FULL);
printf("%s\n", buf);
err_free: