From edc35339c72c8b0a2aeb0e78bc33605a92fbe55d Mon Sep 17 00:00:00 2001
From: Simon Brummer <simon.brummer@posteo.de>
Date: Mon, 27 Mar 2017 11:52:31 +0200
Subject: [PATCH] sema: doc: fix typo in error return value

---
 sys/include/sema.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/include/sema.h b/sys/include/sema.h
index f8cec50b25..e06c3a1580 100644
--- a/sys/include/sema.h
+++ b/sys/include/sema.h
@@ -91,7 +91,7 @@ void sema_create(sema_t *sema, unsigned int value);
  *
  * Destroying a semaphore upon which other threads are currently blocked
  * will wake the other threads causing the @ref sema_wait (or
- * @ref sema_wait_timed) to return error (-ECANCELLED).
+ * @ref sema_wait_timed) to return error (-ECANCELED).
  *
  * @param[in] sema  The semaphore to destroy.
  */
-- 
GitLab