diff options
Diffstat (limited to 'nuttx/lib/stdio/lib_syslogstream.c')
-rw-r--r-- | nuttx/lib/stdio/lib_syslogstream.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/lib/stdio/lib_syslogstream.c b/nuttx/lib/stdio/lib_syslogstream.c index a3fa5546d..20c6165ca 100644 --- a/nuttx/lib/stdio/lib_syslogstream.c +++ b/nuttx/lib/stdio/lib_syslogstream.c @@ -42,7 +42,7 @@ #include <unistd.h> #include <errno.h> -#include <nuttx/ramlog.h> +#include <nuttx/syslog.h> #include "lib_internal.h" @@ -62,12 +62,10 @@ static void syslogstream_putc(FAR struct lib_outstream_s *this, int ch) { - /* At present, the RAM log is the only supported logging device */ + /* Write the character to the supported logging device */ -#ifdef CONFIG_RAMLOG_SYSLOG - (void)ramlog_putc(ch); + (void)syslog_putc(ch); this->nput++; -#endif } /**************************************************************************** |