mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
string_assert: First arg of elinks_internal is a format string.
This commit is contained in:
parent
b0bc06d050
commit
2e3ebffcd3
@ -34,7 +34,7 @@
|
||||
#define string_assert(f, l, x, o) \
|
||||
if ((assert_failed = !(x))) { \
|
||||
errfile = f, errline = l, \
|
||||
elinks_internal("[" o "] assertion " #x " failed!"); \
|
||||
elinks_internal("[%s] assertion %s failed!", o, #x); \
|
||||
}
|
||||
|
||||
#ifdef DEBUG_MEMLEAK
|
||||
|
Loading…
Reference in New Issue
Block a user