修复编译警告

This commit is contained in:
zhkag
2023-02-09 15:21:17 +08:00
committed by guo
parent 7c6c12cbff
commit 657cbfdac7
4 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -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();
}