mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Update everything under apps/ to use the corrected syslog interfaces
This commit is contained in:
+2
-2
@@ -104,11 +104,11 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_DEBUG
|
#ifdef CONFIG_DEBUG
|
||||||
# define dbg(format, ...) \
|
# 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
|
# ifdef CONFIG_ARCH_LOWPUTC
|
||||||
# define lldbg(format, ...) \
|
# define lldbg(format, ...) \
|
||||||
lowsyslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
lowsyslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define lldbg(x...)
|
# define lldbg(x...)
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Reference in New Issue
Block a user