aboutsummaryrefslogtreecommitdiff
path: root/src/rtos/chromium-ec.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-07-12 00:25:53 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-07-26 20:13:41 +0100
commite527937779b990aeeaefd5e5224f6f899e2f67a7 (patch)
tree3861964fba2e701b72b0f17edfafd2928d07512b /src/rtos/chromium-ec.c
parent9db3e9879db3d89984eea80dc6fd9b1c3c269e58 (diff)
downloadriscv-openocd-e527937779b990aeeaefd5e5224f6f899e2f67a7.zip
riscv-openocd-e527937779b990aeeaefd5e5224f6f899e2f67a7.tar.gz
riscv-openocd-e527937779b990aeeaefd5e5224f6f899e2f67a7.tar.bz2
rtos: fix minor typos
Change-Id: I9ed4e2150a0a057397538b608d4a72bc48d0d64f Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5759 Tested-by: jenkins
Diffstat (limited to 'src/rtos/chromium-ec.c')
-rw-r--r--src/rtos/chromium-ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/chromium-ec.c b/src/rtos/chromium-ec.c
index 92ed2cb..ae12a3b 100644
--- a/src/rtos/chromium-ec.c
+++ b/src/rtos/chromium-ec.c
@@ -306,7 +306,7 @@ static int chromium_ec_update_threads(struct rtos *rtos)
LOG_ERROR("Failed to get task %d's runtime", t);
runtime = target_buffer_get_u64(rtos->target, runtime_buf);
- /* Priority is simply the positon in the array */
+ /* Priority is simply the position in the array */
if (thread_ptr == current_task)
snprintf(thread_str_buf, sizeof(thread_str_buf),
"State: Running, Priority: %u, Events: %" PRIx32 ", Runtime: %" PRIu64 "\n",