mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 21:06:58 +08:00
drviers/syslog: correct the return value of default channel write
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
cff3d9df7b
commit
4e08b1df93
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user