From: saerome kim Date: Mon, 10 Dec 2018 05:39:11 +0000 (+0900) Subject: Fix dlog format: errno X-Git-Tag: submit/tizen/20181210.055506^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F194945%2F2;p=platform%2Fcore%2Fapi%2Fzigbee.git Fix dlog format: errno Change-Id: I7ac9dc996e2a1bdb9d9cdf8bf170949da18ccccc Signed-off-by: Taesoo Jun --- diff --git a/src/zbl-dbus.c b/src/zbl-dbus.c index 13cf25b..250fcd6 100644 --- a/src/zbl-dbus.c +++ b/src/zbl-dbus.c @@ -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 (%0x02X)", errno); + ERR("Couldn't allocate the memory (%s)", strerror(errno)); goto GLOBAL_READ_CONFIGURE_REPORTING_REQ_OUT; }