CLEANUP: assorted typo fixes in the code and comments
This is 23rd iteration of typo fixes
diff --git a/src/activity.c b/src/activity.c
index 6b9430c..4dc832e 100644
--- a/src/activity.c
+++ b/src/activity.c
@@ -112,7 +112,7 @@
* Worse, we have to account for the risk of reentrance from dlsym() when
* it tries to prepare its error messages. Here its ahndled by in_memprof
* that makes allocators return NULL. dlsym() handles it gracefully. An
- * alternate approch consists in calling aligned_alloc() from these places
+ * alternate approach consists in calling aligned_alloc() from these places
* but that would mean not being able to intercept it later if considered
* useful to do so.
*/
@@ -411,7 +411,7 @@
}
if (strcmp(args[2], "tasks") != 0)
- return cli_err(appctx, "Expects etiher 'tasks' or 'memory'.\n");
+ return cli_err(appctx, "Expects either 'tasks' or 'memory'.\n");
if (strcmp(args[3], "on") == 0) {
unsigned int old = profiling;