mq_open: Fix wrong type of slash used in quoated character constant.

This commit is contained in:
Gregory Nutt 2017-01-10 07:07:17 -06:00
parent e3a535f66f
commit a6fd776b1d
1 changed files with 1 additions and 1 deletions

View File

@ -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;