From 248f59eba288f7150f73cc0c3e78817d1adac406 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 13 Feb 2012 21:30:23 +0000 Subject: [PATCH] samba36: adjust the debug level of asserts to save some more space SVN-Revision: 30512 --- net/samba36/patches/300-assert_debug_level.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/samba36/patches/300-assert_debug_level.patch diff --git a/net/samba36/patches/300-assert_debug_level.patch b/net/samba36/patches/300-assert_debug_level.patch new file mode 100644 index 0000000000..c5b07168c6 --- /dev/null +++ b/net/samba36/patches/300-assert_debug_level.patch @@ -0,0 +1,11 @@ +--- 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 + -- 2.30.2