diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/include/assert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/include/assert.h b/libc/include/assert.h index fbfb2cc..68f01ab 100644 --- a/libc/include/assert.h +++ b/libc/include/assert.h @@ -18,7 +18,8 @@ extern void update_sp_attn_area(const char *msg); #define assert(cond) \ do { if (!(cond)) { \ update_sp_attn_area(__FILE__ \ - ":" stringify(__LINE__)); \ + ":" stringify(__LINE__) \ + ":" stringify(cond)); \ assert_fail(__FILE__ \ ":" stringify(__LINE__) \ ":" stringify(cond)); } \ |