mirror of
https://github.com/openharmony/third_party_NuttX.git
synced 2026-07-01 08:17:34 -04:00
Description: 解决nuttx可以写入1024数据问题
IssueNo: https://gitee.com/openharmony/third_party_NuttX/issues/I91FUT Feature Or Bugfix: Bugfix Binary Source: No Signed-off-by: hw_llm <liu.limin@huawei.com>
This commit is contained in:
@@ -144,7 +144,7 @@ struct pipe_dev_s *pipecommon_allocdev(size_t bufsize, const char *name)
|
||||
* should not have priority inheritance enabled.
|
||||
*/
|
||||
|
||||
dev->d_bufsize = bufsize + 1; /* +1 to compensate the full indicator */
|
||||
dev->d_bufsize = bufsize;
|
||||
}
|
||||
|
||||
return dev;
|
||||
|
||||
Reference in New Issue
Block a user