sanlock/Add-sanlk-reset-command-t-options.patch
cherry530 a86b9088d5 fix sanlk-reset -t command error.
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 5b5c5cab206a4e3b0776ba9012ef761a27f924bc)
2023-03-08 11:24:59 +08:00

14 lines
387 B
Diff

diff --git a/reset/sanlk_reset.c b/reset/sanlk_reset.c
index 9e952ab..3453449 100644
--- a/reset/sanlk_reset.c
+++ b/reset/sanlk_reset.c
@@ -717,7 +717,7 @@ int main(int argc, char *argv[])
int c;
int option_index = 0;
- c = getopt_long(argc, argv, "hVi:g:w:b:R:D",
+ c = getopt_long(argc, argv, "hVi:g:w:b:R:t:D",
long_options, &option_index);
if (c == -1)
break;