From 4c0e5dc2d94e4ab2f62b97beed1323246d2cb5f3 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 28 Oct 2016 15:43:21 +0200 Subject: rt-tests: cyclictest: Correct short option 's' The short option 's' was originally intended to be the short form of --system Commit b35bc97cfd05bd27324b9c373ff8c5e0bcb07f7f which added the new option --secaligned broke this, by accidently inserting the new option between the short form and long form. Reported-by: Daniel Seemer Signed-off-by: John Kacur --- src/cyclictest/cyclictest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 5e23fc5..3f1bef1 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1688,7 +1688,6 @@ static void process_options (int argc, char *argv[], int max_cpus) case 'R': case OPT_RESOLUTION: check_clock_resolution = 1; break; - case 's': case OPT_SECALIGNED: secaligned = 1; if (optarg != NULL) @@ -1698,6 +1697,7 @@ static void process_options (int argc, char *argv[], int max_cpus) else offset = 0; break; + case 's': case OPT_SYSTEM: use_system = MODE_SYS_OFFSET; break; case 'S': -- cgit 1.2.3-korg