From: saerome kim Date: Fri, 7 Dec 2018 04:10:52 +0000 (+0900) Subject: Fixed build errors X-Git-Tag: submit/tizen/20181207.042006^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0245b334f04336ad6259d2e471544ecf8a9ffc50;p=platform%2Fcore%2Fapi%2Fzigbee.git Fixed build errors 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 --- diff --git a/src/zbl-dbus.c b/src/zbl-dbus.c index 29e0ce5..13cf25b 100644 --- a/src/zbl-dbus.c +++ b/src/zbl-dbus.c @@ -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; }