diff --git a/src/chmtx.c b/src/chmtx.c index 403408f58..d4da170e1 100644 --- a/src/chmtx.c +++ b/src/chmtx.c @@ -135,7 +135,7 @@ void chMtxUnlock(void) { chSysLock(); chDbgAssert((currp->p_mtxlist != NULL) && (currp->p_mtxlist->m_owner == currp), - "chmtx.c, chMtxUnlockS()"); + "chmtx.c, chMtxUnlock()"); /* * Removes the top Mutex from the owned mutexes list and marks it as not owned.