summaryrefslogtreecommitdiff
path: root/kern/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex.h')
-rw-r--r--kern/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mutex.h b/kern/mutex.h
index c222c837..f446f5fe 100644
--- a/kern/mutex.h
+++ b/kern/mutex.h
@@ -54,7 +54,7 @@ mutex_init(struct mutex *mutex)
*
* This function may not sleep.
*
- * Return 0 on success, ERROR_BUSY if the mutex is already locked.
+ * Return 0 on success, EBUSY if the mutex is already locked.
*/
static inline int
mutex_trylock(struct mutex *mutex)