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 13:38:02 +08:00 committed by Petro Karashchenko
parent cff3d9df7b
commit 4e08b1df93
1 changed files with 1 additions and 1 deletions

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