From: Phil Sutter Date: Fri, 23 Aug 2019 16:18:33 +0000 (+0200) Subject: DEBUG: Print to stderr to not disturb iptables-save X-Git-Tag: v1.8.4~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b29068b49d32a0a8667409e69de628400593588c;p=thirdparty%2Fiptables.git DEBUG: Print to stderr to not disturb iptables-save This way there's at least a chance to get meaningful results from testsuite with debugging being turned on. Signed-off-by: Phil Sutter Acked-by: Pablo Neira Ayuso --- diff --git a/iptables/xshared.h b/iptables/xshared.h index fd1f96ba..b08c700e 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -11,7 +11,7 @@ #include #ifdef DEBUG -#define DEBUGP(x, args...) fprintf(stdout, x, ## args) +#define DEBUGP(x, args...) fprintf(stderr, x, ## args) #else #define DEBUGP(x, args...) #endif