提交 8f57b958 编写于 作者: L laiguizhong

去除const

Signed-off-by: Nlaiguizhong <laiguizhong@huawei.com>
上级 1ef1dd79
......@@ -231,7 +231,7 @@ const char *GetBuildTime(void)
const char *GetSerial(void)
{
static const char ohos_serial[PARAM_VALUE_LEN_MAX] = {0};
static char ohos_serial[PARAM_VALUE_LEN_MAX] = {0};
uint32_t len = PARAM_VALUE_LEN_MAX;
int ret = SystemGetParameter("ohos.boot.sn", ohos_serial, &len);
if (ret != 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册