1 Star 0 Fork 7

吴超超/jfsutils

forked from src-openEuler/jfsutils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jfsutils-reslove-build-error.patch 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
gu-gu-gu 提交于 2020-02-14 11:29 . package init
diff -Nur jfsutils-1.1.15_old/fscklog/display.c jfsutils-1.1.15/fscklog/display.c
--- jfsutils-1.1.15_old/fscklog/display.c 2020-01-19 10:38:11.873031611 +0800
+++ jfsutils-1.1.15/fscklog/display.c 2020-01-19 11:00:42.226950905 +0800
@@ -182,7 +182,7 @@
} else {
/* the record looks ok */
msg_txt = &log_entry[log_entry_pos];
- printf(msg_txt);
+ printf("%s",msg_txt);
/*
* set up for the next record
*/
diff -Nur jfsutils-1.1.15_old/fscklog/fscklog.c jfsutils-1.1.15/fscklog/fscklog.c
--- jfsutils-1.1.15_old/fscklog/fscklog.c 2020-01-19 10:38:11.873031611 +0800
+++ jfsutils-1.1.15/fscklog/fscklog.c 2020-01-19 11:01:15.377539460 +0800
@@ -252,8 +252,8 @@
sprintf(debug_detail, " [%s:%d]\n", basename(file_name), line_number);
- printf(msg_string);
- printf(debug_detail);
+ printf("%s",msg_string);
+ printf("%s",debug_detail);
return 0;
}
diff -Nur jfsutils-1.1.15_old/logdump/helpers.c jfsutils-1.1.15/logdump/helpers.c
--- jfsutils-1.1.15_old/logdump/helpers.c 2020-01-19 10:38:11.873031611 +0800
+++ jfsutils-1.1.15/logdump/helpers.c 2020-01-19 11:01:52.548199382 +0800
@@ -95,8 +95,8 @@
sprintf(debug_detail, " [%s:%d]\n", file_name, line_number);
- printf(msg_string);
- printf(debug_detail);
+ printf("%s",msg_string);
+ printf("%s",debug_detail);
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wcc_140409/jfsutils.git
git@gitee.com:wcc_140409/jfsutils.git
wcc_140409
jfsutils
jfsutils
master

搜索帮助