summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.h')
-rw-r--r--src/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mutex.h b/src/mutex.h
index c158d5e..fedbb8f 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -151,7 +151,7 @@ void mutex_lock(struct mutex *mutex);
*
* This is the non-blocking variant of mutex_lock().
*
- * Return 0 on success, ERROR_BUSY if locking the mutex failed.
+ * Return 0 on success, EBUSY if locking the mutex failed.
*/
int mutex_trylock(struct mutex *mutex);