From: Susnata Sovalin Date: Wed, 12 Dec 2018 09:05:50 +0000 (+0530) Subject: Updating debug logs for format check enforcement X-Git-Tag: accepted/tizen/5.5/unified/20191031.024346^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5_mobile_hotfix;p=platform%2Fcore%2Flocation%2Flbs-server-plugin-replay.git Updating debug logs for format check enforcement Change-Id: I0fd96db65fa5305c71fc2ba5bab6a247a57098cc Signed-off-by: Susnata Sovalin --- diff --git a/gps-plugin/src/gps_plugin_replay.c b/gps-plugin/src/gps_plugin_replay.c index e1598e7..be57286 100644 --- a/gps-plugin/src/gps_plugin_replay.c +++ b/gps-plugin/src/gps_plugin_replay.c @@ -425,8 +425,8 @@ void gps_plugin_stop_replay_mode(replay_timeout *timer) g_source_destroy(timer->timeout_src); LOG_PLUGIN(DBG_LOW, "g_source_destroy timeout_src"); } else { - LOG_PLUGIN(DBG_WARN, "timer->timeout_src is attatched to 0x%x (actual 0x%x)", - g_source_get_context(timer->timeout_src), timer->default_context); + LOG_PLUGIN(DBG_WARN, "timer->timeout_src is attatched to %p (actual %p)", + (void*)(g_source_get_context(timer->timeout_src)),(void*)timer->default_context); } timer->timeout_src = NULL; timer->default_context = NULL; @@ -491,7 +491,7 @@ gboolean gps_plugin_start_replay_mode(replay_timeout *timer) if (timer->timeout_src != NULL) { g_source_set_callback(timer->timeout_src, &gps_plugin_replay_timeout_cb, timer, NULL); if (g_source_attach(timer->timeout_src, timer->default_context) > 0) { - LOG_PLUGIN(DBG_LOW, "timeout_src(0x%x) is created & attatched to 0x%x", timer->timeout_src, timer->default_context); + LOG_PLUGIN(DBG_LOW, "timeout_src(%p) is created & attatched to %p", (void*)timer->timeout_src, (void*)timer->default_context); ret = TRUE; } else { gps_plugin_stop_replay_mode(timer);