mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
mq_open: Fix wrong type of slash used in quoated character constant.
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ mqd_t mq_open(FAR const char *mq_name, int oflags, ...)
|
|||||||
|
|
||||||
/* Make sure that a non-NULL name is supplied */
|
/* Make sure that a non-NULL name is supplied */
|
||||||
|
|
||||||
if (mq_name == NULL || *mq_name == '/0')
|
if (mq_name == NULL || *mq_name == '\0')
|
||||||
{
|
{
|
||||||
errcode = EINVAL;
|
errcode = EINVAL;
|
||||||
goto errout;
|
goto errout;
|
||||||
|
|||||||
Reference in New Issue
Block a user