Hi,

The attached patch fixes typos in the code comments of the task subsystem.

Thanks,
Joseph
From 8c693fb717df1d9cae04a77eea45feb6feab7a16 Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
Date: Thu, 15 Nov 2018 14:19:23 -0800
Subject: [PATCH] CLEANUP: Fix typos in the task subsystem

Fix typos in the code comments of the task subsystem.
---
 src/task.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/task.c b/src/task.c
index 8e4da933..779dbf5d 100644
--- a/src/task.c
+++ b/src/task.c
@@ -29,7 +29,7 @@ struct pool_head *pool_head_task;
 struct pool_head *pool_head_tasklet;
 
 /* This is the memory pool containing all the signal structs. These
- * struct are used to store each requiered signal between two tasks.
+ * struct are used to store each required signal between two tasks.
  */
 struct pool_head *pool_head_notification;
 
@@ -429,7 +429,7 @@ void process_runnable_tasks()
 		}
 		curr_task = NULL;
 		/* If there is a pending state  we have to wake up the task
-		 * immediatly, else we defer it into wait queue
+		 * immediately, else we defer it into wait queue
 		 */
 		if (t != NULL) {
 			state = HA_ATOMIC_AND(&t->state, ~TASK_RUNNING);
-- 
2.19.1

Reply via email to