Fix the coverity issues 73/224773/1 accepted/tizen/unified/20200214.050300 submit/tizen/20200214.001307
authorDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 13 Feb 2020 04:07:39 +0000 (13:07 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 13 Feb 2020 04:08:02 +0000 (13:08 +0900)
Extra argument to printf format specifier

Change-Id: Id4eaedc5d58b7bd913d0a2d24dc0c98c6fb86c86
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
16 files changed:
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_custom.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_service.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_alarm.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_basic.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_color_control.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_global_control.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_group.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_ias_zone.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_identify.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_level_control.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_on_off.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_poll_control.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_scene.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zcl_thermostat.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zdo_bind.c
zigbee-daemon/zigbee-interface/src/zigbee_service_dbus_interface_zdo_dev_control.c

index ff08ffa..69ee61c 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_custom(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index fc6943f..7f6ff6a 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_service(ZigBeeServiceInterface *servi
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 1d46eb5..55e235f 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_alarm(ZigBeeServiceInterface *ser
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 39ab185..211b777 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_basic(ZigBeeServiceInterface *ser
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index cfac230..bd7383b 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zcl_color_control(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 445d97c..6d152a8 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_global_control(ZigBeeServiceInter
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index a13333e..96e5438 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_group(ZigBeeServiceInterface *ser
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index e07be5a..706109b 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_ias_zone(ZigBeeServiceInterface *
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 334802b..e64fcc8 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zcl_identify(ZigBeeServiceInterface *
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index d7b4ea8..f379abd 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zcl_level_control(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 3772c82..83e8c2e 100644 (file)
@@ -38,7 +38,7 @@ static void *_service_interface_ref_zigbee_zcl_on_off(ZigBeeServiceInterface *se
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 9c822c9..b2cf212 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zcl_poll_control(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 549cbbc..514345a 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zcl_scene(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 06351ec..8784856 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zcl_thermostat(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index e3a8c26..9588dd5 100644 (file)
@@ -37,7 +37,7 @@ static void *_service_interface_ref_zigbee_zdo_bind(
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }
 
index 12da45a..5c91962 100644 (file)
@@ -36,7 +36,7 @@ static void *_service_interface_ref_zigbee_zdo_dev_control(ZigBeeServiceInterfac
        /* Get zigbee object */
        zigbee_object = g_hash_table_lookup(custom_data->objects, ZIGBEE_SERVICE_PATH);
        if (NULL == zigbee_object) {
-               Z_LOGW("Cannot find ZigBee D-BUS interface object!", zigbee_object);
+               Z_LOGW("Cannot find ZigBee D-BUS interface object!");
                return NULL;
        }