rt-tests: cyclictest: Correct short option 's'
The short option 's' was originally intended to be the short form of
--system
Commit b35bc97cfd
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>
This commit is contained in:
parent
d9aaae16e7
commit
4c0e5dc2d9
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue