From da639f8363555d28918087d343b1c4c17298d40c Mon Sep 17 00:00:00 2001 From: saerome kim Date: Mon, 10 Dec 2018 14:39:11 +0900 Subject: [PATCH] Fix dlog format: errno Change-Id: I7ac9dc996e2a1bdb9d9cdf8bf170949da18ccccc Signed-off-by: Taesoo Jun --- src/zbl-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1