From: Andy Williams Date: Fri, 22 Dec 2017 14:48:28 +0000 (+0000) Subject: ecore: Reduce the number of lines in our error log X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~528 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=897bff10d785735e929140a7e55eff1cec26dd63;p=platform%2Fupstream%2Fefl.git ecore: Reduce the number of lines in our error log And align for readability --- diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index 85040f5..deba635 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c @@ -788,17 +788,15 @@ _ecore_magic_fail(const void *d, Ecore_Magic req_m, const char *fname EINA_UNUSED) { - ERR("\n" - "*** ECORE ERROR: Ecore Magic Check Failed!!!\n" - "*** IN FUNCTION: %s()", fname); + ERR("*** ECORE ERROR: Ecore Magic Check Failed!!! in: %s()", fname); if (!d) - ERR(" Input handle pointer is NULL!"); + ERR(" Input handle pointer is NULL!"); else if (m == ECORE_MAGIC_NONE) - ERR(" Input handle has already been freed!"); + ERR(" Input handle has already been freed!"); else if (m != req_m) - ERR(" Input handle is wrong type\n" - " Expected: %08x - %s\n" - " Supplied: %08x - %s", + ERR(" Input handle is wrong type\n" + " Expected: %08x - %s\n" + " Supplied: %08x - %s", (unsigned int)req_m, _ecore_magic_string_get(req_m), (unsigned int)m, _ecore_magic_string_get(m));