samba36: adjust the debug level of asserts to save some more space
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30512 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a8019cab95
commit
7d488967e3
11
net/samba36/patches/300-assert_debug_level.patch
Normal file
11
net/samba36/patches/300-assert_debug_level.patch
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user