Fix dlog format: errno 45/194945/2 accepted/tizen/unified/20181210.152253 submit/tizen/20181210.055506
authorsaerome kim <saerome.kim@samsung.com>
Mon, 10 Dec 2018 05:39:11 +0000 (14:39 +0900)
committersaerome kim <saerome.kim@samsung.com>
Mon, 10 Dec 2018 05:39:11 +0000 (14:39 +0900)
Change-Id: I7ac9dc996e2a1bdb9d9cdf8bf170949da18ccccc
Signed-off-by: Taesoo Jun <steve.jun@samsung.com>
src/zbl-dbus.c

index 13cf25b8ac92f4f285dbbce5d89fac706e93334c..250fcd6bcc41d048e76ab8567d51435084338ba1 100644 (file)
@@ -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;
        }