From: Enlightenment S. <no-...@en...> - 2010-10-09 09:08:25
|
Log: enlil: don't use message as format string. Author: illogict Date: 2010-10-09 02:08:19 -0700 (Sat, 09 Oct 2010) New Revision: 53230 Modified: trunk/enlil/src/enlil/load.c trunk/enlil/src/enlil/sync.c Modified: trunk/enlil/src/enlil/load.c =================================================================== --- trunk/enlil/src/enlil/load.c 2010-10-09 08:12:47 UTC (rev 53229) +++ trunk/enlil/src/enlil/load.c 2010-10-09 09:08:19 UTC (rev 53230) @@ -180,7 +180,7 @@ switch(load->msg.type) { case Enlil_LOAD_ERROR: - LOG_CRIT(load->msg.msg); + LOG_CRIT("%s", load->msg.msg); load->conf.error_cb(load->conf.data, load, load->msg.error, msg); break; case Enlil_LOAD_ALBUM_DONE: Modified: trunk/enlil/src/enlil/sync.c =================================================================== --- trunk/enlil/src/enlil/sync.c 2010-10-09 08:12:47 UTC (rev 53229) +++ trunk/enlil/src/enlil/sync.c 2010-10-09 09:08:19 UTC (rev 53230) @@ -1105,7 +1105,7 @@ switch(sync->msg.type) { case Enlil_SYNC_ERROR: - LOG_CRIT(sync->msg.msg); + LOG_CRIT("%s", sync->msg.msg); sync->sync.error_cb(sync->sync.data, sync, sync->msg.error, sync->msg.msg); break; case Enlil_SYNC_ALBUM_NEW: |