!1944 修复gstrace_infra.cpp中函数名misspelling

Merge pull request !1944 from Haolan/fix_func_misspelling
This commit is contained in:
opengauss-bot
2022-08-09 01:12:18 +00:00
committed by Gitee

View File

@ -393,7 +393,7 @@ static bool checkProcess(int port)
return procexist;
}
void gstrace_destory(int code, void *arg)
void gstrace_destroy(int code, void *arg)
{
trace_context* pTrcCxt = getTraceContext();
@ -500,7 +500,7 @@ int gstrace_init(int key)
pTrcCxt->pTrcCfg->hash_trace_config_file, LENGTH_TRACE_CONFIG_HASH, hash_str, LENGTH_TRACE_CONFIG_HASH);
securec_check(ret, "\0", "\0");
(void)on_exit(gstrace_destory, NULL);
(void)on_exit(gstrace_destroy, NULL);
return TRACE_OK;
}