Blame SOURCES/rt-tests-Add-missing-option-F-to-optstring.patch

5db3bf
From 419aa72080b78210a0c8ef0c23cf56aeada1d880 Mon Sep 17 00:00:00 2001
5db3bf
From: Leah Leshchinsky <lleshchi@redhat.com>
5db3bf
Date: Mon, 13 Sep 2021 15:29:51 -0400
5db3bf
Subject: [PATCH] rt-tests: Add missing option F to optstring
5db3bf
5db3bf
The cyclictest help output lists -F as the short version of the
5db3bf
--fifo option, yet calling cyclictest -F produces an error
5db3bf
cyclictest: invalid option --'F'".
5db3bf
followed by the usage() message
5db3bf
5db3bf
This patch adds -F as a valid argument.
5db3bf
5db3bf
Signed-off-by: Leah Leshchinsky <lleshchi@redhat.com>
5db3bf
-Minor Fix to the commit message
5db3bf
Signed-off-by: John Kacur <jkacur@redhat.com>
5db3bf
---
5db3bf
 src/cyclictest/cyclictest.c | 2 +-
5db3bf
 1 file changed, 1 insertion(+), 1 deletion(-)
5db3bf
5db3bf
diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
5db3bf
index a08c91d..f8f7dbc 100644
5db3bf
--- a/src/cyclictest/cyclictest.c
5db3bf
+++ b/src/cyclictest/cyclictest.c
5db3bf
@@ -1011,7 +1011,7 @@ static void process_options(int argc, char *argv[], int max_cpus)
5db3bf
 			{"posix_timers",     no_argument,	NULL, OPT_POSIX_TIMERS },
5db3bf
 			{NULL, 0, NULL, 0 },
5db3bf
 		};
5db3bf
-		int c = getopt_long(argc, argv, "a::A::b:c:d:D:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
5db3bf
+		int c = getopt_long(argc, argv, "a::A::b:c:d:D:F:h:H:i:l:MNo:p:mqrRsSt::uvD:x",
5db3bf
 				    long_options, &option_index);
5db3bf
 		if (c == -1)
5db3bf
 			break;
5db3bf
-- 
5db3bf
2.27.0
5db3bf