mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
fs/mqueue: fix compile error
Change-Id: I2f36f576d76c9b65e88f51b21c66b3f9b77b20d1 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
if !DISABLE_MQUEUE
|
||||
|
||||
config FS_MQUEUE_MPATH
|
||||
string "Path to message queuee"
|
||||
string "Path to message queue"
|
||||
default "/var/mqueue"
|
||||
---help---
|
||||
The path to where POSIX message queues will exist in the VFS namespace.
|
||||
|
||||
+1
-1
@@ -269,7 +269,7 @@ static mqd_t nxmq_vopen(FAR const char *mq_name, int oflags, va_list ap)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = files_allocate(mq.f_inode, mq.f_oflags, mq.f_pos, 0);
|
||||
ret = files_allocate(mq.f_inode, mq.f_oflags, mq.f_pos, mq.f_priv, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
file_mq_close(&mq);
|
||||
|
||||
Reference in New Issue
Block a user