vmassert reports also the source file in which it was triggered
This commit is contained in:
parent
cf854041ce
commit
616d936638
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
|||
|
||||
#if DEBUG_VMASSERT
|
||||
#define vmassert(t) { \
|
||||
if(!(t)) { minix_panic("vm: assert " #t " failed\n", __LINE__); } }
|
||||
if(!(t)) { minix_panic("vm: assert " #t " failed in " __FILE__, __LINE__); } }
|
||||
#else
|
||||
#define vmassert(t) { }
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue