From 1730874cd89a5c86d178dab92030227c8820223a Mon Sep 17 00:00:00 2001 From: zhkag Date: Fri, 6 Jan 2023 02:10:14 +0000 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E8=B5=8B=E5=80=BC=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E6=95=B0=E6=8D=AE=E8=A2=AB=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/posix/ipc/mqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/libc/posix/ipc/mqueue.c b/components/libc/posix/ipc/mqueue.c index c764036455..8cbe440c9f 100644 --- a/components/libc/posix/ipc/mqueue.c +++ b/components/libc/posix/ipc/mqueue.c @@ -127,6 +127,7 @@ mqd_t mq_open(const char *name, int oflag, ...) mode = (mode_t)va_arg(arg, unsigned int); mode = mode; attr = (struct mq_attr *)va_arg(arg, struct mq_attr *); + attr = attr; va_end(arg); if (oflag & O_EXCL)