1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 20:39:42 +02:00
openwrt-xburst/package/network/services/samba36/patches/300-assert_debug_level.patch

12 lines
377 B
Diff
Raw Normal View History

--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -53,7 +53,7 @@ extern const char *panic_action;
#else
/* redefine the assert macro for non-developer builds */
#define SMB_ASSERT(b) do { if (!(b)) { \
- DEBUG(0,("PANIC: assert failed at %s(%d): %s\n", \
+ DEBUG(3,("PANIC: assert failed at %s(%d): %s\n", \
__FILE__, __LINE__, #b)); }} while (0)
#endif