6 Star 0 Fork 0

OpenCloudOS Stream/apcupsd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
patch-format-security 385 Bytes
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-14 17:37 . update
diff --git a/src/gapcmon/gapcmon.c b/src/gapcmon/gapcmon.c
index 40bf29d..111fe1f 100644
--- a/src/gapcmon/gapcmon.c
+++ b/src/gapcmon/gapcmon.c
@@ -2938,7 +2938,7 @@ static void gapc_util_log_app_msg(gchar * pch_func, gchar * pch_topic,
pch = g_strdup_printf("%s(%s) emsg=%s", pch_func, pch_topic, pch_emsg);
- g_message(pch);
+ g_message("%s", pch);
g_free(pch);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/apcupsd.git
git@gitee.com:opencloudos-stream/apcupsd.git
opencloudos-stream
apcupsd
apcupsd
master

搜索帮助