mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
string_assert: First arg of elinks_internal is a format string.
This commit is contained in:
parent
e325b748be
commit
a73d165fd7
@ -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…
x
Reference in New Issue
Block a user