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. --- pkg/csource/linux_common.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pkg/csource/linux_common.go') diff --git a/pkg/csource/linux_common.go b/pkg/csource/linux_common.go index 37557447a..4f16dc7fc 100644 --- a/pkg/csource/linux_common.go +++ b/pkg/csource/linux_common.go @@ -2117,9 +2117,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) @@ -2204,8 +2202,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