diff options
author | John Kacur <jkacur@redhat.com> | 2016-10-28 15:43:21 +0200 |
---|---|---|
committer | John Kacur <jkacur@redhat.com> | 2016-10-28 15:43:21 +0200 |
commit | 4c0e5dc2d94e4ab2f62b97beed1323246d2cb5f3 (patch) | |
tree | 9b3e641e819902385a658fc68e497b662ab42782 | |
parent | d9aaae16e7734e81226572fd8eb0e535d9b52a2e (diff) | |
download | rt-tests-4c0e5dc2d94e4ab2f62b97beed1323246d2cb5f3.tar.gz |
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 <phaiax-cyclictest@invisibletower.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
-rw-r--r-- | src/cyclictest/cyclictest.c | 2 |
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': |