From 15cb64d3c10c5022fa50c5714bbc1bdafc45272d Mon Sep 17 00:00:00 2001 From: ligd Date: Fri, 8 Jan 2021 17:19:29 +0800 Subject: [PATCH] fs/mqueue: fix compile error Change-Id: I2f36f576d76c9b65e88f51b21c66b3f9b77b20d1 Signed-off-by: ligd --- fs/mqueue/Kconfig | 2 +- fs/mqueue/mq_open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);