summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_cpu.c')
-rw-r--r--extensions/libxt_cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_cpu.c b/extensions/libxt_cpu.c
index b4ad4561..77efec7f 100644
--- a/extensions/libxt_cpu.c
+++ b/extensions/libxt_cpu.c
@@ -66,14 +66,14 @@ cpu_print(const void *ip, const struct xt_entry_match *match, int numeric)
{
const struct xt_cpu_info *info = (void *)match->data;
- printf("cpu %s%u ", info->invert ? "! ":"", info->cpu);
+ printf(" cpu %s%u", info->invert ? "! ":"", info->cpu);
}
static void cpu_save(const void *ip, const struct xt_entry_match *match)
{
const struct xt_cpu_info *info = (void *)match->data;
- printf("%s--cpu %u ", info->invert ? "! ":"", info->cpu);
+ printf("%s --cpu %u", info->invert ? " !" : "", info->cpu);
}
static struct xtables_match cpu_match = {