提交 168cf3d2 编写于 作者: C cheng_jinsong

更新修改

Signed-off-by: Ncheng_jinsong <chengjinsong2@huawei.com>
上级 464f4f93
......@@ -52,7 +52,7 @@ static int GetJobName(const cJSON *jobItem, Job *resJob)
return 0;
}
if (strcpy_s(resJob->name, MAX_JOB_NAME_LEN, jobNameStr, strlen(jobNameStr)) != EOK) {
if (strcpy_s(resJob->name, MAX_JOB_NAME_LEN, jobNameStr) != EOK) {
INIT_LOGE("Get job name \"%s\" failed", jobNameStr);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册