aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-09 20:31:41 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-09 20:31:41 +0100
commit2b6b214cf2fc16447250192774f9c8e124793c50 (patch)
treeb0e4b16632ac24a976463c30ff048c8d3f684eb5 /executor/common_linux.h
parent033b610ec91096a5791c90761df1289fd33280e6 (diff)
pkg/csource: fix debug calls
debug calls are only properly stripped if they are on a single line.
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h7
1 files changed, 2 insertions, 5 deletions
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)