mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 13:17:49 +00:00
grahpics: Shouldn't call mq_close in kernel server
change to nxmq_close instead Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d9a1b67120
commit
6e08c4dca3
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ static inline int nxmu_setup(FAR const char *mqname, FAR NX_DRIVERTYPE *dev,
|
|||
if (nxmu->conn.swrmq < 0)
|
||||
{
|
||||
gerr("ERROR: nxmq_open(%s) failed: %d\n", mqname, nxmu->conn.swrmq);
|
||||
mq_close(nxmu->conn.crdmq);
|
||||
nxmq_close(nxmu->conn.crdmq);
|
||||
return nxmu->conn.swrmq;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue