summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2016-10-28 15:43:21 +0200
committerJohn Kacur <jkacur@redhat.com>2016-10-28 16:40:04 +0200
commitd48504b8e85961afab1cb0bd346624eb31527197 (patch)
treec9ef2ad3ebafc28603b38e880fcba652f8d8f59e
parent35dca49004f954e207278c49132ca6489b1a84d3 (diff)
downloadrt-tests-stable/v1.0.tar.gz
rt-tests: cyclictest: Correct short option 's'stable/v1.0
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 <phaiax-cyclictest@invisibletower.de> Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r--src/cyclictest/cyclictest.c2
1 files changed, 1 insertions, 1 deletions
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':