ust: continue work
[ust.git] / share / usterr.h
index 2ab3662c9a8147e3c136eabaa2ea015b8fb6d036..a2f915bdad41139a3765ff6c3c2662289bf08cb7 100644 (file)
@@ -7,6 +7,6 @@
 #define PERROR(call) perror("usertrace: ERROR: " call)
 
 #define BUG_ON(condition) do { if (unlikely(condition)) ERR("condition not respected (BUG)"); } while(0)
-#define WARN_ON(condition) do { if (unlikely(condition)) WARN("condition not respected"); } while(0)
+#define WARN_ON(condition) do { if (unlikely(condition)) WARN("condition not respected on line %s:%d", __FILE__, __LINE__); } while(0)
 
 #endif /* USTERR_H */
This page took 0.023351 seconds and 4 git commands to generate.