mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 03:09:16 +08:00
修复编译警告
This commit is contained in:
@@ -4338,7 +4338,7 @@ int sys_mq_unlink(const char *name)
|
||||
|
||||
lwp_get_from_user(kname, (void *)name, len + 1);
|
||||
ret = mq_unlink(kname);
|
||||
if (err < 0)
|
||||
if (ret < 0)
|
||||
{
|
||||
ret = GET_ERRNO();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user