提交 606cac1e 编写于 作者: O openharmony_ci 提交者: Gitee

!1 不规范安全函数

Merge pull request !1 from zhushengle/zhushengle_20201105100506
...@@ -46,7 +46,7 @@ int prctl(int option, ...) ...@@ -46,7 +46,7 @@ int prctl(int option, ...)
} }
name = va_arg(ap, unsigned long); name = va_arg(ap, unsigned long);
err = OsSetCurrTaskName((const char *)name); err = OsSetTaskName(OsCurrTaskGet(), (const char *)name, TRUE);
if (err != LOS_OK) { if (err != LOS_OK) {
goto ERROR; goto ERROR;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册