From 7c04ad820987cb50351602ef2149970ca83bbb1a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 26 Jul 2015 15:33:27 -0600 Subject: [PATCH] Sporadic scheduler: Cosmetic change to debug output and to comments --- sched/sched/sched_sporadic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sched/sched/sched_sporadic.c b/sched/sched/sched_sporadic.c index e24aa0ecb9..31280521da 100644 --- a/sched/sched/sched_sporadic.c +++ b/sched/sched/sched_sporadic.c @@ -578,7 +578,7 @@ int sched_sporadic_initialize(FAR struct tcb_s *tcb) sporadic = (FAR struct sporadic_s *)kmm_zalloc(sizeof(struct sporadic_s)); if (sporadic == NULL) { - slldbg("ERROR: Failed to alloate sporadic data structure\n"); + slldbg("ERROR: Failed to allocate sporadic data structure\n"); return -ENOMEM; } @@ -1052,7 +1052,6 @@ uint32_t sched_sporadic_process(FAR struct tcb_s *tcb, uint32_t ticks, * Drop to the lower priority for the duration of the replenishment * period. Called from: * - * - sched_sporadic_process() when the thread budget expires * - sched_unlock(). When the budget expires while the thread had the * scheduler locked. *