diff --git a/fs/mqueue/Kconfig b/fs/mqueue/Kconfig index 6763bc06733..3e816d07d06 100644 --- a/fs/mqueue/Kconfig +++ b/fs/mqueue/Kconfig @@ -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. diff --git a/fs/mqueue/mq_open.c b/fs/mqueue/mq_open.c index ab703df84d0..86901e83ac7 100644 --- a/fs/mqueue/mq_open.c +++ b/fs/mqueue/mq_open.c @@ -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);