From 2b6b214cf2fc16447250192774f9c8e124793c50 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 9 Feb 2018 20:31:41 +0100 Subject: pkg/csource: fix debug calls debug calls are only properly stripped if they are on a single line. --- executor/common_linux.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index 729cdcba0..5128009dd 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -1085,9 +1085,7 @@ static void checkpoint_iptables(struct ipt_table_desc* tables, int num_tables, i } fail("getsockopt(IPT_SO_GET_INFO)"); } - debug("checkpoint iptable %s/%d: entries=%d hooks=%x size=%d\n", - table->name, family, table->info.num_entries, table->info.valid_hooks, - table->info.size); + debug("checkpoint iptable %s/%d: entries=%d hooks=%x size=%d\n", table->name, family, table->info.num_entries, table->info.valid_hooks, table->info.size); if (table->info.size > sizeof(table->replace.entrytable)) fail("table size is too large: %u", table->info.size); if (table->info.num_entries > XT_MAX_ENTRIES) @@ -1172,8 +1170,7 @@ static void checkpoint_arptables(void) } fail("getsockopt(ARPT_SO_GET_INFO)"); } - debug("checkpoint arptable %s: entries=%d hooks=%x size=%d\n", - table->name, table->info.num_entries, table->info.valid_hooks, table->info.size); + debug("checkpoint arptable %s: entries=%d hooks=%x size=%d\n", table->name, table->info.num_entries, table->info.valid_hooks, table->info.size); if (table->info.size > sizeof(table->replace.entrytable)) fail("table size is too large: %u", table->info.size); if (table->info.num_entries > XT_MAX_ENTRIES) -- cgit mrf-deployment