Fixed build errors 90/194690/1 accepted/tizen/unified/20181207.061429 submit/tizen/20181207.042006
authorsaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 04:10:52 +0000 (13:10 +0900)
committersaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 04:13:52 +0000 (13:13 +0900)
Changed the dlog input parameters to meet the warning as error policy of
the recently changed dlog.

Change-Id: I3510046759a320966e164bbe460fb6eb4cc82c45
Signed-off-by: saerome kim <saerome.kim@samsung.com>
src/zbl-dbus.c

index 29e0ce5..13cf25b 100644 (file)
@@ -532,7 +532,7 @@ static void _zbl_remove_global_req(zb_zigbee_h handle, unsigned char ep,
 
                if (ret->tid) {
                        g_source_remove(ret->tid);
-                       DBG("tid=%d removed");
+                       DBG("tid=%d removed", ret->tid);
                        ret->tid = 0;
                }
 
@@ -1257,7 +1257,7 @@ static void _zbl_request_cleanup(gpointer data)
 
        if (container->tid) {
                g_source_remove(container->tid);
-               DBG("tid=%d removed");
+               DBG("tid=%d removed", container->tid);
                container->tid = 0;
        }
 
@@ -1834,7 +1834,7 @@ static void __zbl_zdo_matched_descriptor_req(zbl_req_cb_s *container, GVariant *
                RETM_IF(NULL == match_list, "calloc() Fail(%d)", errno);
                while (g_variant_iter_loop(ml_iter, "(y)", &value)) {
                        match_list[j] = value;
-                       DBG("match_list[i]=%d", j, match_list[j]);
+                       DBG("match_list[%d]=%d", j, match_list[j]);
                        j++;
                }
        }
@@ -2858,7 +2858,7 @@ static void __zbl_zcl_global_read_config_reporting_req(zbl_req_cb_s *container,
        status = calloc(record_length, sizeof(unsigned char));
        data_size = calloc(record_length, sizeof(unsigned char));
        if (!status || !data_size) {
-               ERR("Couldn't allocate the memory (%s)", errno);
+               ERR("Couldn't allocate the memory (%0x02X)", errno);
                goto GLOBAL_READ_CONFIGURE_REPORTING_REQ_OUT;
        }