* [PATCH 1/2] rt-tests: cyclicdeadline: Fix minor spelling mistake
@ 2016-10-28 15:11 John Kacur
2016-10-28 15:11 ` [PATCH 2/2] rt-tests: cyclictest: Correct short option 's' John Kacur
0 siblings, 1 reply; 2+ messages in thread
From: John Kacur @ 2016-10-28 15:11 UTC (permalink / raw)
To: rt-users; +Cc: Clark Williams, Anna-Maria Gleixner, John Kacur
Fix spelling mistake, "that" should be "than" in the following message
For less that 2ms run times, you need to
have HRTICK enabled in debugfs/sched_features
Signed-off-by: John Kacur <jkacur@redhat.com>
---
src/sched_deadline/cyclicdeadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c
index fd78d315563e..761f8d7d7483 100644
--- a/src/sched_deadline/cyclicdeadline.c
+++ b/src/sched_deadline/cyclicdeadline.c
@@ -1155,7 +1155,7 @@ int main (int argc, char **argv)
* have HRTICK enabled.
*/
if (!setup_hr_tick()) {
- fprintf(stderr, "For less that 2ms run times, you need to\n"
+ fprintf(stderr, "For less than 2ms run times, you need to\n"
"have HRTICK enabled in debugfs/sched_features\n");
exit(-1);
}
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] rt-tests: cyclictest: Correct short option 's'
2016-10-28 15:11 [PATCH 1/2] rt-tests: cyclicdeadline: Fix minor spelling mistake John Kacur
@ 2016-10-28 15:11 ` John Kacur
0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2016-10-28 15:11 UTC (permalink / raw)
To: rt-users; +Cc: Clark Williams, Anna-Maria Gleixner, John Kacur
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>
---
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 5e23fc58f602..3f1bef1ffca9 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':
--
2.5.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-28 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 15:11 [PATCH 1/2] rt-tests: cyclicdeadline: Fix minor spelling mistake John Kacur
2016-10-28 15:11 ` [PATCH 2/2] rt-tests: cyclictest: Correct short option 's' John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).