mq_open: Fix wrong type of slash used in quoated character constant.
This commit is contained in:
parent
e3a535f66f
commit
a6fd776b1d
|
@ -100,7 +100,7 @@ mqd_t mq_open(FAR const char *mq_name, int oflags, ...)
|
|||
|
||||
/* 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;
|
||||
goto errout;
|
||||
|
|
Loading…
Reference in New Issue