1 Star 0 Fork 44

misaka00251/lxc

forked from src-openEuler/lxc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0023-fix-lxc-write-error-message.patch 950 Bytes
一键复制 编辑 原始数据 按行查看 历史
ger202 提交于 2023-02-21 09:45 . fix lxc write error message
From 45948760921dbaa1c030b6848168b89428ca1434 Mon Sep 17 00:00:00 2001
From: songbuhuang <[email protected]>
Date: Wed, 8 Feb 2023 14:46:44 +0800
Subject: [PATCH] fix lxc write error message
Signed-off-by: songbuhuang <[email protected]>
---
src/lxc/cgroups/isulad_cgfsng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/cgroups/isulad_cgfsng.c b/src/lxc/cgroups/isulad_cgfsng.c
index f5cf81c..6ccff63 100644
--- a/src/lxc/cgroups/isulad_cgfsng.c
+++ b/src/lxc/cgroups/isulad_cgfsng.c
@@ -2463,7 +2463,7 @@ retry:
goto retry;
}
lxc_write_error_message(ops->errfd,
- "%s:%d: setting cgroup config for ready process caused \"failed to write %s to %s: %s\".",
+ "%s:%d: setting cgroup config for ready process caused failed to write %s to %s: %s",
__FILE__, __LINE__, value, fullpath, strerror(errno));
}
free(fullpath);
--
2.25.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/misaka00251/lxc.git
[email protected]:misaka00251/lxc.git
misaka00251
lxc
lxc
master

搜索帮助