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