fs/mqueue: fix compile error

Change-Id: I2f36f576d76c9b65e88f51b21c66b3f9b77b20d1
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2021-01-08 17:19:29 +08:00
parent 87694f68a7
commit 15cb64d3c1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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);