summaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.h b/src/thread.h
index b2edf17..45b5e1f 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -97,7 +97,7 @@
/**
* Wrapper for pthread_once().
*/
-#define call_once(once, fn) \
+#define invoke_once(once, fn) \
thread_verify(pthread_once(once, fn), errno == 0)
#endif // BFS_THREAD_H