diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/nft-chain-get.c | 2 | ||||
-rw-r--r-- | examples/nft-rule-get.c | 2 | ||||
-rw-r--r-- | examples/nft-set-elem-get.c | 2 | ||||
-rw-r--r-- | examples/nft-set-get.c | 2 | ||||
-rw-r--r-- | examples/nft-table-get.c | 2 |
5 files changed, 5 insertions, 5 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); 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); diff --git a/examples/nft-set-elem-get.c b/examples/nft-set-elem-get.c index 3c45ead..34dfca2 100644 --- a/examples/nft-set-elem-get.c +++ b/examples/nft-set-elem-get.c @@ -36,7 +36,7 @@ static int set_cb(const struct nlmsghdr *nlh, void *data) } nft_set_snprintf(buf, sizeof(buf), t, 0, 0); - printf("%s", buf); + printf("%s\n", buf); err_free: nft_set_free(t); diff --git a/examples/nft-set-get.c b/examples/nft-set-get.c index a07a1d7..d4588ba 100644 --- a/examples/nft-set-get.c +++ b/examples/nft-set-get.c @@ -36,7 +36,7 @@ static int set_cb(const struct nlmsghdr *nlh, void *data) } nft_set_snprintf(buf, sizeof(buf), t, 0, 0); - printf("%s", buf); + printf("%s\n", buf); err_free: nft_set_free(t); diff --git a/examples/nft-table-get.c b/examples/nft-table-get.c index 518e176..b113636 100644 --- a/examples/nft-table-get.c +++ b/examples/nft-table-get.c @@ -37,7 +37,7 @@ static int table_cb(const struct nlmsghdr *nlh, void *data) } nft_table_snprintf(buf, sizeof(buf), t, *type, 0); - printf("%s", buf); + printf("%s\n", buf); err_free: nft_table_free(t); |