diff options
Diffstat (limited to 'examples/nft-rule-get.c')
-rw-r--r-- | examples/nft-rule-get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nft-rule-get.c b/examples/nft-rule-get.c index 2821afe..5bf41f5 100644 --- a/examples/nft-rule-get.c +++ b/examples/nft-rule-get.c @@ -37,7 +37,7 @@ static int table_cb(const struct nlmsghdr *nlh, void *data) } nft_rule_snprintf(buf, sizeof(buf), t, *type, 0); - printf("%s", buf); + printf("%s\n", buf); err_free: nft_rule_free(t); |