Fix nxstyle warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-01-12 12:33:46 +08:00
committed by Alin Jerpelea
parent 0536953ded
commit 0dc6990166
13 changed files with 92 additions and 69 deletions
+2 -1
View File
@@ -205,7 +205,8 @@ static inline int nxmu_setup(FAR const char *mqname, FAR NX_DRIVERTYPE *dev,
attr.mq_msgsize = NX_MXSVRMSGLEN;
attr.mq_flags = 0;
ret = nxmq_open(mqname, O_RDONLY | O_CREAT, 0666, &attr, &nxmu->conn.crdmq);
ret = nxmq_open(mqname, O_RDONLY | O_CREAT,
0666, &attr, &nxmu->conn.crdmq);
if (ret < 0)
{
gerr("ERROR: nxmq_open(%s) failed: %d\n", mqname, ret);