7 Star 0 Fork 14

src-openEuler/dmraid

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-segmentation-fault-when-using-dmraid-h-on-aarch64.patch 888 Bytes
一键复制 编辑 原始数据 按行查看 历史
From 9dce5cd1afb90332b11b3185af9a3bf7c91ee64a Mon Sep 17 00:00:00 2001
From: shao_xuehua <[email protected]>
Date: Thu, 21 Sep 2023 11:27:15 +0800
Subject: [PATCH] fix segmentation fault when using "dmraid -h" on aarch64
---
tools/commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/commands.c b/tools/commands.c
index a3c77d2..b746935 100644
--- a/tools/commands.c
+++ b/tools/commands.c
@@ -266,7 +266,7 @@ help(struct lib_context *lc, int arg)
"\t[--size [0-9]...[kKgG][bB]]\n"
"\t[--str[i[de]] [0-9]...[kK][bB]]\n"
"\t{--disk[s] \"device-path[, device-path...\"}\n", c);
- log_print(lc, "%s\t{-x|--remove RAID-set} \n");
+ log_print(lc, "%s\t{-x|--remove RAID-set} \n", c);
log_print(lc, "%s\t{-R|--rebuild} RAID-set [drive_name]\n"
"\t[-u|--update_defer]", c);
log_print(lc, "%s\t[{-f|--format FORMAT}]\n"
--
2.20.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dmraid.git
[email protected]:src-openeuler/dmraid.git
src-openeuler
dmraid
dmraid
master

搜索帮助