summaryrefslogtreecommitdiff
path: root/legacy/edje/src/bin/edje_cc_mem.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2009-12-22 13:46:00 +0000
committerCedric BAIL <cedric.bail@free.fr>2009-12-22 13:46:00 +0000
commit018a9dad668bb522b036603626d3784075d9c553 (patch)
treea402cf83b5cf5fb9eab4161bde68825b73d7a0de /legacy/edje/src/bin/edje_cc_mem.c
parentbd60dfd40e59484bf4106e73a407e1a89ad93f8a (diff)
* edje: Use Eina_Log.
Patch from Mathieu Taillefumier. SVN revision: 44655
Diffstat (limited to 'legacy/edje/src/bin/edje_cc_mem.c')
-rw-r--r--legacy/edje/src/bin/edje_cc_mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/edje/src/bin/edje_cc_mem.c b/legacy/edje/src/bin/edje_cc_mem.c
index be611ce562..082d570abb 100644
--- a/legacy/edje/src/bin/edje_cc_mem.c
+++ b/legacy/edje/src/bin/edje_cc_mem.c
@@ -18,8 +18,8 @@ mem_alloc(size_t size)
18 18
19 mem = calloc(1, size); 19 mem = calloc(1, size);
20 if (mem) return mem; 20 if (mem) return mem;
21 fprintf(stderr, "%s: Error. %s:%i memory allocation of %i bytes failed. %s\n", 21 ERR("%s: Error. %s:%i memory allocation of %i bytes failed. %s",
22 progname, file_in, line, size, strerror(errno)); 22 progname, file_in, line, size, strerror(errno));
23 exit(-1); 23 exit(-1);
24 return NULL; 24 return NULL;
25} 25}
@@ -31,8 +31,8 @@ mem_strdup(const char *s)
31 31
32 str = strdup(s); 32 str = strdup(s);
33 if (str) return str; 33 if (str) return str;
34 fprintf(stderr, "%s: Error. %s:%i memory allocation of %i bytes failed. %s. string being duplicated: \"%s\"\n", 34 ERR("%s: Error. %s:%i memory allocation of %i bytes failed. %s. string being duplicated: \"%s\"",
35 progname, file_in, line, strlen(s) + 1, strerror(errno), s); 35 progname, file_in, line, strlen(s) + 1, strerror(errno), s);
36 exit(-1); 36 exit(-1);
37 return NULL; 37 return NULL;
38} 38}