Updating debug logs for format check enforcement
[platform/core/location/lbs-server-plugin-replay.git] / gps-plugin / src / gps_plugin_replay.c
index e1598e7..be57286 100644 (file)
@@ -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);