mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 05:01:36 +08:00
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -217,11 +217,11 @@ void mq_initialize(void)
|
||||
|
||||
void mq_desblockalloc(void)
|
||||
{
|
||||
struct mq_des_block_s *mqdesblock;
|
||||
FAR struct mq_des_block_s *mqdesblock;
|
||||
|
||||
/* Allocate a block of message descriptors */
|
||||
|
||||
mqdesblock = (struct mq_des_block_s *)kmalloc(sizeof(struct mq_des_block_s));
|
||||
mqdesblock = (FAR struct mq_des_block_s *)kmalloc(sizeof(struct mq_des_block_s));
|
||||
if (mqdesblock)
|
||||
{
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user