Skip to content

Commit

Permalink
Update everything under apps/ to use the corrected syslog interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-nutt committed Oct 8, 2014
1 parent 8db42f5 commit 0cd7683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cd7683

Please sign in to comment.