fix codex

Signed-off-by: zhaoyuan17 <zhaoyuan17@huawei.com>
This commit is contained in:
zhaoyuan17
2021-09-28 15:02:14 +08:00
parent 7743f76137
commit 3e82c5e857
+1 -1
View File
@@ -210,7 +210,7 @@ bool checkProcName(const int32_t &pid, const AppSpawnStartMsg &params)
HiLog::Error(LABEL, "cmd sprintf_s fail .");
return CHECK_ERROR;
}
if(strlen(cmd) > CMD_SIZE){
if(strlen(cmd) > CMD_SIZE) {
HiLog::Error(LABEL, " cmd length is too long .");
return CHECK_ERROR;
}