path: root/src/table.c
diff options
authorPablo Neira Ayuso <>2013-04-19 01:51:57 +0200
committerPablo Neira Ayuso <>2013-04-19 01:55:58 +0200
commit1c8a6c57b0936ca24fe2dd8455c47d6a2fb5cb7f (patch)
tree71ab9e76a4b187bdc0db5e554497147f4417766f /src/table.c
parentb0f2066ac0ebf3c5151ae2ece231b2317dfa3a5f (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 <>
Diffstat (limited to 'src/table.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table.c b/src/table.c
index c963e6e..2d72136 100644
--- a/src/table.c
+++ b/src/table.c
@@ -197,7 +197,7 @@ static int nft_table_snprintf_xml(char *buf, size_t size, struct nft_table *t)
static int nft_table_snprintf_default(char *buf, size_t size, struct nft_table *t)
- return snprintf(buf, size, "table=%s family=%u flags=%x\n",
+ return snprintf(buf, size, "table=%s family=%u flags=%x",
t->name, t->family, t->table_flags);