!514 fix the compile warning

Merge pull request !514 from laojr1/OpenHarmony-3.0-LTS
This commit is contained in:
openharmony_ci 2021-12-29 06:23:04 +00:00 committed by Gitee
commit 9717eafff7
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ osStatus_t osKernelGetInfo(osVersion_t *version, char *id_buf, uint32_t id_size)
}
uwRet = memcpy_s(id_buf, id_size, KERNEL_ID, id_size);
if (uwRet != EOK) {
PRINT_ERR("%s[%d] memcpy failed, error type = %u\n", __FUNCTION__, __LINE__, uwRet);
PRINT_ERR("%s[%d] memcpy failed, error type = %lu\n", __FUNCTION__, __LINE__, uwRet);
return osError;
}
}