auto detect app_root

This commit is contained in:
lixianjing 2019-06-14 17:43:21 +08:00
parent fe1ba40fc8
commit 37d3a2e216

View File

@ -87,7 +87,7 @@ static ret_t system_info_normalize_app_root(system_info_t* info, const char* app
}
#else
static ret_t system_info_normalize_app_root(system_info_t* info, const char* app_root_default) {
info->app_root = app_root_default;
info->app_root = tk_strdup(app_root_default);
return RET_OK;
}