From 0cd7683711a3b1ff29e35572ab39fe854fec7265 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 8 Oct 2014 11:34:22 -0600 Subject: [PATCH] Update everything under apps/ to use the corrected syslog interfaces --- include/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/debug.h b/include/debug.h index 74f50935a2..56a5b9e77d 100644 --- a/include/debug.h +++ b/include/debug.h @@ -104,11 +104,11 @@ #ifdef CONFIG_DEBUG # define dbg(format, ...) \ - syslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + syslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # ifdef CONFIG_ARCH_LOWPUTC # define lldbg(format, ...) \ - lowsyslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + lowsyslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # else # define lldbg(x...) # endif