mirror of
https://github.com/openharmony/third_party_NuttX.git
synced 2026-07-01 08:17:34 -04:00
@@ -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