加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-Fix-print-errors.patch 823 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 64e205655a1b8c885a1419116f1ddc724f07f844 Mon Sep 17 00:00:00 2001
From: jinlun <jinlun@huawei.com>
Date: Tue, 18 Jun 2024 09:34:57 +0800
Subject: [PATCH 12/14] Fix print errors
---
src/core/policy/dim_core_policy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/policy/dim_core_policy.c b/src/core/policy/dim_core_policy.c
index da734d3..adcdabe 100644
--- a/src/core/policy/dim_core_policy.c
+++ b/src/core/policy/dim_core_policy.c
@@ -132,7 +132,7 @@ static int policy_check_add_module_text(struct dim_policy *policy)
}
if (policy->path != NULL)
- dim_warn("path is ignored for BPRM_TEXT policy\n");
+ dim_warn("path is ignored for MODULE_TEXT policy\n");
if (policy->action != DIM_POLICY_ACTION_LOG)
dim_warn("action is ignored for MODULE_TEXT policy\n");
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化