diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 09:44:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-08 09:44:15 -0600 |
commit | ab1282a14781ce3244908b0421b295b1ea65f26f (patch) | |
tree | 7ca3d474b1d41ca65d07978577147e49da205f5b /nuttx/include/debug.h | |
parent | cc7f2b26e037d5790cc8751a2f7354e39513783c (diff) | |
download | px4-nuttx-ab1282a14781ce3244908b0421b295b1ea65f26f.tar.gz px4-nuttx-ab1282a14781ce3244908b0421b295b1ea65f26f.tar.bz2 px4-nuttx-ab1282a14781ce3244908b0421b295b1ea65f26f.zip |
make standard syslog and vsyslog POSIX compliant (also modify non-standard syslog functions for compatibility). This will break a lot of things until ALL usage of syslog is updated to use the modified interfaces
Diffstat (limited to 'nuttx/include/debug.h')
-rw-r--r-- | nuttx/include/debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/debug.h b/nuttx/include/debug.h index 7fd6bc497..74f50935a 100644 --- a/nuttx/include/debug.h +++ b/nuttx/include/debug.h @@ -104,22 +104,22 @@ #ifdef CONFIG_DEBUG # define dbg(format, ...) \ - syslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + syslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # ifdef CONFIG_ARCH_LOWPUTC # define lldbg(format, ...) \ - lowsyslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + lowsyslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # else # define lldbg(x...) # endif # ifdef CONFIG_DEBUG_VERBOSE # define vdbg(format, ...) \ - syslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + syslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # ifdef CONFIG_ARCH_LOWPUTC # define llvdbg(format, ...) \ - lowsyslog(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + lowsyslog(LOG_DEBUG, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # else # define llvdbg(x...) # endif |