mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
Ensure the kernel component don't call userspace API
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
cf73496d9e
commit
9473434587
@@ -275,7 +275,7 @@ static ssize_t loop_write(FAR struct inode *inode,
|
||||
nsectors * dev->sectsize);
|
||||
if (nbyteswritten < 0 && nbyteswritten != -EINTR)
|
||||
{
|
||||
ferr("ERROR: nx_write failed: %zd\n", nbyteswritten);
|
||||
ferr("ERROR: file_write failed: %zd\n", nbyteswritten);
|
||||
return nbyteswritten;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user