From 9dfcabf0d8bba076c00ea562e6fa09e2aff64074 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 23 Oct 2019 21:21:04 +0200 Subject: [PATCH] core: fix typos --- core/include/kernel_init.h | 2 +- core/include/sched.h | 2 +- core/kernel_init.c | 2 +- core/rmutex.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/include/kernel_init.h b/core/include/kernel_init.h index 3ea9b70b35..a96f3f08ae 100644 --- a/core/include/kernel_init.h +++ b/core/include/kernel_init.h @@ -12,7 +12,7 @@ * @{ * * @file - * @brief prototypes for kernel intitialization + * @brief prototypes for kernel initialization * * @author Oliver Hahm * @author Kaspar Schleiser diff --git a/core/include/sched.h b/core/include/sched.h index 9f89b7047b..e58f9dcb11 100644 --- a/core/include/sched.h +++ b/core/include/sched.h @@ -149,7 +149,7 @@ int sched_run(void); void sched_set_status(thread_t *process, thread_status_t status); /** - * @brief Yield if approriate. + * @brief Yield if appropriate. * * @details Either yield if other_prio is higher than the current priority, * or if the current thread is not on the runqueue. diff --git a/core/kernel_init.c b/core/kernel_init.c index cab06a3ec1..c8cf240281 100644 --- a/core/kernel_init.c +++ b/core/kernel_init.c @@ -12,7 +12,7 @@ * @{ * * @file - * @brief Platform-independent kernel initilization + * @brief Platform-independent kernel initialization * * @author Kaspar Schleiser * diff --git a/core/rmutex.c b/core/rmutex.c index 703e8c2527..8bfceef01c 100644 --- a/core/rmutex.c +++ b/core/rmutex.c @@ -100,7 +100,7 @@ static int _lock(rmutex_t *rmutex, int trylock) DEBUG("rmutex %" PRIi16" : I am now holding the mutex\n", thread_getpid()); /* I am holding the recursive mutex */ - DEBUG("rmutex %" PRIi16" : settting the owner\n", thread_getpid()); + DEBUG("rmutex %" PRIi16" : setting the owner\n", thread_getpid()); /* ensure that owner is written atomically, since others need a consistent value */ atomic_store_explicit(&rmutex->owner, thread_getpid(), memory_order_relaxed);