summaryrefslogtreecommitdiff
path: root/nuttx/include/debug.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-08 11:34:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-08 11:34:22 -0600
commit59ac0e4d0352fad72b80018438e350ba405294b5 (patch)
treee11ebcb862370c10e4d8633d77673d4377d51a66 /nuttx/include/debug.h
parent68c842108f9509299434ceb6f1595f0e4ddd4505 (diff)
downloadnuttx-59ac0e4d0352fad72b80018438e350ba405294b5.tar.gz
nuttx-59ac0e4d0352fad72b80018438e350ba405294b5.tar.bz2
nuttx-59ac0e4d0352fad72b80018438e350ba405294b5.zip
Update everything under apps/ to use the corrected syslog interfaces
Diffstat (limited to 'nuttx/include/debug.h')
-rw-r--r--nuttx/include/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/debug.h b/nuttx/include/debug.h
index 74f50935a..56a5b9e77 100644
--- a/nuttx/include/debug.h
+++ b/nuttx/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