vmassert reports also the source file in which it was triggered

This commit is contained in:
Tomas Hruby 2009-11-04 15:30:08 +00:00
parent cf854041ce
commit 616d936638

View file

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