summaryrefslogtreecommitdiffhomepage
path: root/contrib/fwd/src/fwd_config.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-20 02:57:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-20 02:57:31 +0000
commit9fbd8df110874ad6324e9be5862e8558a30880bc (patch)
treeec1f8b46748a3e9a2a099e8ecc39d638252046fe /contrib/fwd/src/fwd_config.c
parentd77076aa1653133e78619351ed41f721d4f59dd2 (diff)
contrib/fwd: remove debug prints, add syslog info
Diffstat (limited to 'contrib/fwd/src/fwd_config.c')
-rw-r--r--contrib/fwd/src/fwd_config.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/fwd/src/fwd_config.c b/contrib/fwd/src/fwd_config.c
index def36d139..320e9ffca 100644
--- a/contrib/fwd/src/fwd_config.c
+++ b/contrib/fwd/src/fwd_config.c
@@ -25,11 +25,9 @@
#include "ucix.h"
-#define fwd_read_error(...) do { \
- fprintf(stderr, "ERROR: "); \
- fprintf(stderr, __VA_ARGS__); \
- fprintf(stderr, "\n"); \
- return; \
+#define fwd_read_error(...) do { \
+ fwd_log_err(__VA_ARGS__); \
+ return; \
} while(0)