about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xombrero.c4
-rw-r--r--xombrero.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/xombrero.c b/xombrero.c
index 5a1c545..b5a61e8 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -8199,7 +8199,7 @@ mtx_lock(void)
 
 complain:
 	if (mtx_complain == 0) {
-		show_oops(NULL, "buggy mutex implementation detected(%s), "
+		DNPRINTF(XT_D_MTX, "buggy mutex implementation detected(%s), "
 		    "work around implemented", s);
 		mtx_complain = 1;
 	}
@@ -8223,7 +8223,7 @@ mtx_unlock(void)
 
 complain:
 	if (mtx_complain == 0) {
-		show_oops(NULL, "buggy mutex implementation detected(%s), "
+		DNPRINTF(XT_D_MTX, "buggy mutex implementation detected(%s), "
 		    "work around implemented", s);
 		mtx_complain = 1;
 	}
diff --git a/xombrero.h b/xombrero.h
index c91443d..6bf7799 100644
--- a/xombrero.h
+++ b/xombrero.h
@@ -163,6 +163,7 @@ THE SOFTWARE.
 #define XT_D_CUSTOM_URI		0x80000
 #define XT_D_CMD_ALIAS		0x100000
 #define XT_D_SEARCH		0x200000
+#define XT_D_MTX		0x400000
 extern uint32_t	swm_debug;
 #else
 #define DPRINTF(x...)