summaryrefslogtreecommitdiffstats
path: root/iptables/ip6tables.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-01-07 16:26:30 +0100
committerPhil Sutter <phil@nwl.cc>2022-11-15 17:02:09 +0100
commit66b4a68de2212f3f872dc1b0e36aa8e76c70659d (patch)
treeae210c9f9b89ed1d747d63b547e8f683d4bc83d5 /iptables/ip6tables.c
parentbe8c6056040848b019e76e8b578598b35bae2655 (diff)
Drop extra newline from xtables_error() calls
Since basic_exit_err() appends a newline to the message itself, drop explicit ones. While being at it, fix indentation and join texts split over multiple lines. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/ip6tables.c')
-rw-r--r--iptables/ip6tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iptables/ip6tables.c b/iptables/ip6tables.c
index ae267035..062b2b15 100644
--- a/iptables/ip6tables.c
+++ b/iptables/ip6tables.c
@@ -766,8 +766,8 @@ int do_command6(int argc, char *argv[], char **table,
#ifdef IP6T_F_GOTO
if (cs.fw6.ipv6.flags & IP6T_F_GOTO)
xtables_error(PARAMETER_PROBLEM,
- "goto '%s' is not a chain\n",
- cs.jumpto);
+ "goto '%s' is not a chain",
+ cs.jumpto);
#endif
xtables_find_target(cs.jumpto, XTF_LOAD_MUST_SUCCEED);
} else {