提交 abce576e 编写于 作者: S shiyuju

fix unknow to unknown

Signed-off-by: Nshiyuju <shiyuju@west365.cn>
上级 15c4de23
......@@ -36,9 +36,9 @@ char *BShellEnvErrString(BShellHandle handle, int32_t err)
return shellErrString[i].desc;
}
}
BSH_CHECK(handle != NULL, return "System unknow err", "Invalid shell env");
BSH_CHECK(handle != NULL, return "System unknown err", "Invalid shell env");
BShellEnv *shell = (BShellEnv *)handle;
int len = sprintf_s(shell->data, sizeof(shell->data) - 1, "System unknow err 0x%08x", err);
int len = sprintf_s(shell->data, sizeof(shell->data) - 1, "System unknown err 0x%08x", err);
if (len <= 0) {
BSH_LOGE("Write shell data size failed.");
}
......
......@@ -647,7 +647,7 @@ void InitTriggerHead(const TriggerWorkSpace *workSpace)
head->checkTriggerMatch = CheckParamMatch_;
head->checkCondition = CheckParamCondition_;
head->getCondition = GetTriggerCondition_;
// unknow trigger
// unknown trigger
head = (TriggerHeader *)&workSpace->triggerHead[TRIGGER_UNKNOW];
TriggerHeadSetDefault(head);
head->checkTriggerMatch = CheckUnknowMatch_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册