drviers/syslog: correct the return value of default channel write

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2022-03-14 08:59:34 +02:00
committed by Petro Karashchenko
parent cff3d9df7b
commit 4e08b1df93
+1 -1
View File
@@ -195,7 +195,7 @@ static ssize_t syslog_default_write(FAR struct syslog_channel_s *channel,
nxsem_post(&g_syslog_default_sem);
#endif
return OK;
return buflen;
}
#endif