summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-12-22 14:48:28 +0000
committerAndy Williams <andy@andywilliams.me>2017-12-22 14:48:28 +0000
commit7b4441e2b8d9d32d0d362560a64a6dcc716ee544 (patch)
tree5a930e56f248496dc85d922a3cdf84e2d896d6b1
parentefb419fd7408f4c570804a40071c8236f6eb5193 (diff)
ecore: Reduce the number of lines in our error log
And align for readability
-rw-r--r--src/lib/ecore/ecore.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 85040f532d..deba63533f 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -788,17 +788,15 @@ _ecore_magic_fail(const void *d,
788 Ecore_Magic req_m, 788 Ecore_Magic req_m,
789 const char *fname EINA_UNUSED) 789 const char *fname EINA_UNUSED)
790{ 790{
791 ERR("\n" 791 ERR("*** ECORE ERROR: Ecore Magic Check Failed!!! in: %s()", fname);
792 "*** ECORE ERROR: Ecore Magic Check Failed!!!\n"
793 "*** IN FUNCTION: %s()", fname);
794 if (!d) 792 if (!d)
795 ERR(" Input handle pointer is NULL!"); 793 ERR(" Input handle pointer is NULL!");
796 else if (m == ECORE_MAGIC_NONE) 794 else if (m == ECORE_MAGIC_NONE)
797 ERR(" Input handle has already been freed!"); 795 ERR(" Input handle has already been freed!");
798 else if (m != req_m) 796 else if (m != req_m)
799 ERR(" Input handle is wrong type\n" 797 ERR(" Input handle is wrong type\n"
800 " Expected: %08x - %s\n" 798 " Expected: %08x - %s\n"
801 " Supplied: %08x - %s", 799 " Supplied: %08x - %s",
802 (unsigned int)req_m, _ecore_magic_string_get(req_m), 800 (unsigned int)req_m, _ecore_magic_string_get(req_m),
803 (unsigned int)m, _ecore_magic_string_get(m)); 801 (unsigned int)m, _ecore_magic_string_get(m));
804 802