path: root/src/bin/ethumb_client/ethumbd.c
diff options
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:22:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:27:13 +0900
commit76d8532b5465362f85b75a2a7a5cc3c419304a92 (patch)
tree73482a7b3a246f56d555fd206903db683b14c6aa /src/bin/ethumb_client/ethumbd.c
parentedje_convert.c: fixed formatting before working on the file. (diff)
efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
Diffstat (limited to '')
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/ethumb_client/ethumbd.c b/src/bin/ethumb_client/ethumbd.c
index 5d583688b7..d8140aa925 100644
--- a/src/bin/ethumb_client/ethumbd.c
+++ b/src/bin/ethumb_client/ethumbd.c
@@ -51,7 +51,7 @@
#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
-#define CRIT(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__)
+#define CRI(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__)
static const char _ethumb_dbus_bus_name[] = "org.enlightenment.Ethumb";
static const char _ethumb_dbus_interface[] = "org.enlightenment.Ethumb";
@@ -786,7 +786,7 @@ _ethumb_table_append(Ethumbd *ed)
tmp = realloc(q->table, new_max * sizeof(Ethumbd_Object));
if (!tmp)
- CRIT("could not realloc q->table to %zd bytes: %s",
+ CRI("could not realloc q->table to %zd bytes: %s",
new_max * sizeof(Ethumbd_Object), strerror(errno));
return -1;
@@ -796,7 +796,7 @@ _ethumb_table_append(Ethumbd *ed)
tmp = realloc(q->list, new_max * sizeof(int));
if (!tmp)
- CRIT("could not realloc q->list to %zd bytes: %s",
+ CRI("could not realloc q->list to %zd bytes: %s",
new_max * sizeof(int), strerror(errno));
return -1;
@@ -813,7 +813,7 @@ _ethumb_table_append(Ethumbd *ed)
if (i >= q->max_count)
- CRIT("cannot find free table slot in table of %i", q->max_count);
+ CRI("cannot find free table slot in table of %i", q->max_count);
return -1;