diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-19 01:51:57 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-19 01:55:58 +0200 |
commit | 1c8a6c57b0936ca24fe2dd8455c47d6a2fb5cb7f (patch) | |
tree | 71ab9e76a4b187bdc0db5e554497147f4417766f /examples/nft-chain-get.c | |
parent | b0f2066ac0ebf3c5151ae2ece231b2317dfa3a5f (diff) |
src: remove trailing \n from all nft_*_snprintf functions
The caller should add it in case it needs it.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
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); |