Update snapshot(2017-12-14)
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / tizen / caleserver_vd.c
index e5a71d3..272f9c1 100755 (executable)
@@ -27,6 +27,7 @@
 #include "oic_string.h"
 #include "oic_malloc.h"
 #include "caleutil.h"
+#include "caadapterutils.h"
 
 /**
  * Logging tag for module name
@@ -433,7 +434,7 @@ CAResult_t CAStopLEGattServer()
 
         if (context_event_loop)
         {
-            OIC_LOG_V(DEBUG,  TAG, "g_eventLoop context %x", context_event_loop);
+            OIC_LOG_V(DEBUG,  TAG, "g_eventLoop context %p", (void *)context_event_loop);
             g_main_context_wakeup(context_event_loop);
 
             // Kill g main loops and kill threads
@@ -752,7 +753,7 @@ CAResult_t CARegisterLEServicewithGattServer(const bt_gatt_h svcPath)
 
     VERIFY_NON_NULL(svcPath, TAG, "svcPath");
 
-    OIC_LOG_V(DEBUG, TAG, "svcPath:%s", svcPath);
+    OIC_LOG_V(DEBUG, TAG, "svcPath: %s", (char *)svcPath);
 
     int ret = bt_gatt_server_register_service(g_gattServer, svcPath);
     if (0 != ret)