From 2cd0a8db74109e68e322ec1bbb0e68b838429ac1 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 11 May 2019 01:16:54 +0200 Subject: [PATCH] Uniformize the way of displaying the location of errors in the error message --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index f780a3fb..5314137f 100644 --- a/m-core.h +++ b/m-core.h @@ -2483,7 +2483,7 @@ m_core_hash (const void *str, size_t length) #ifndef M_MEMORY_FULL #define M_MEMORY_FULL(size) do { \ 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(); \ } while (0) #endif