提交 2f107425 编写于 作者: Z zhushengle 提交者: z00451061

Description:Process security function rectification.

Reviewed-by:liulei, lihao, likailong

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