mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Complete re-implementation of mq_close
This commit is contained in:
+2
-1
@@ -234,9 +234,10 @@ mqd_t mq_open(const char *mq_name, int oflags, ...)
|
||||
goto errout_with_msgq;
|
||||
}
|
||||
|
||||
/* Save the message queue in the inode structure */
|
||||
/* Bind the message queue and the inode structure */
|
||||
|
||||
inode->u.i_mqueue = msgq;
|
||||
msgq->inode = inode;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user