Files
LibreELEC.tv/packages/network/samba/patches/samba-300-assert_debug_level.patch
Stephan Raue e445d9623e samba: update to samba-3.6.11
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-01-22 15:06:52 +01:00

12 lines
377 B
Diff

--- 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