diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index 5f0d0c06c399..038319d5f69d 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -277,6 +277,8 @@ extern int mtx_pool_valid; #define mtx_recursed(m) ((m)->mtx_recurse != 0) +#define mtx_name(m) ((m)->mtx_object.lo_name) + /* * Global locks. */