summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨澄 <[email protected]>2021-06-23 21:23:07 +0800
committerGitHub <[email protected]>2021-06-23 21:23:07 +0800
commitec3c1d4d0085c57d996a5c6acc21e7dbde85b30f (patch)
tree8759d509df2dd5f966fab57700b2e935f93c1edb
parent95cea205b1b7a1afbbd6ea7af86eea7ca50c70f0 (diff)
[kernel] Fix comment error for rt_mutex_detach().
-rwxr-xr-xsrc/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc.c b/src/ipc.c
index c981aabe43..959f0fb522 100755
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -588,7 +588,7 @@ rt_err_t rt_mutex_detach(rt_mutex_t mutex)
/* wakeup all suspended threads */
rt_ipc_list_resume_all(&(mutex->parent.suspend_thread));
- /* detach semaphore object */
+ /* detach mutex object */
rt_object_detach(&(mutex->parent.parent));
return RT_EOK;