diff --git a/drivers/syslog/syslog_channel.c b/drivers/syslog/syslog_channel.c index 360d97d2d40..2c21f12b670 100644 --- a/drivers/syslog/syslog_channel.c +++ b/drivers/syslog/syslog_channel.c @@ -217,7 +217,7 @@ static ssize_t syslog_default_write(FAR struct syslog_channel_s *channel, FAR const char *buffer, size_t buflen) { #if defined(CONFIG_ARCH_LOWPUTC) - up_puts(buffer); + up_nputs(buffer, buflen); #endif UNUSED(channel);