Uniformize the way of displaying the location of errors in the error message
This commit is contained in:
1 parent
0fa0445fa9
commit
2cd0a8db74
1 file changed
+1
-1
@@ -2483,7 +2483,7 @@ m_core_hash (const void *str, size_t length)
|
|||||||
#ifndef M_MEMORY_FULL
|
#ifndef M_MEMORY_FULL
|
||||||
#define M_MEMORY_FULL(size) do { \
|
#define M_MEMORY_FULL(size) do { \
|
||||||
fprintf(stderr, "ERROR(M*LIB): Cannot allocate %zu bytes of memory at (%s:%s:%d).\n", \
|
fprintf(stderr, "ERROR(M*LIB): Cannot allocate %zu bytes of memory at (%s:%s:%d).\n", \
|
||||||
(size_t) (size), __func__, __FILE__, __LINE__); \
|
(size_t) (size), __FILE__, __func__, __LINE__); \
|
||||||
abort(); \
|
abort(); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user