1
0

300-assert_debug_level.patch 377 B

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