summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-01-05 01:58:08 +0100
committerRichard Braun <rbraun@sceen.net>2018-01-05 01:58:26 +0100
commit62d27d872769ebcd79a931fa07b1128576e65e65 (patch)
tree0a99e87809c9055dcdcfbd9ed4bec1a72534ced9 /src/mutex.h
parenta6c056ce150bd0339d5325edc18717b2d02a5b8d (diff)
error: remove and use standard errno codes instead
This change also adds strerror to string.h.
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);