From 74d569ab7b1e62ad8647c3644abe3bc4aba09e97 Mon Sep 17 00:00:00 2001 From: saerome kim Date: Fri, 7 Dec 2018 13:02:06 +0900 Subject: [PATCH] Fixed build errors - Change the dlog input parameters to match the warning as error policy of the recenlty updated dlog. Change-Id: I019697f1893efc1b5d20ec0351fa502eb87c5714 Signed-off-by: saerome kim --- src/wifi-mesh-dbus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wifi-mesh-dbus.c b/src/wifi-mesh-dbus.c index f294e14..1937127 100644 --- a/src/wifi-mesh-dbus.c +++ b/src/wifi-mesh-dbus.c @@ -1814,16 +1814,16 @@ int _wifi_mesh_get_stations_info(wifi_mesh_h handle, LOGE("bssid=%s", station.bssid); } else if (strcasecmp(key, "inactive_time") == 0) { station.inactive_time = g_variant_get_uint32(val); - LOGE("inactive_time = %ld", station.inactive_time); + LOGE("inactive_time = %d", station.inactive_time); } else if (strcasecmp(key, "rx_bytes") == 0) { station.rx_bytes = g_variant_get_uint64(val); - LOGE("rx_bytes = %ld", station.rx_bytes); + LOGE("rx_bytes = %llu", station.rx_bytes); } else if (strcasecmp(key, "rx_packets") == 0) { station.rx_packets = g_variant_get_uint32(val); LOGE("rx_packets = %d", station.rx_packets); } else if (strcasecmp(key, "tx_bytes") == 0) { station.tx_bytes = g_variant_get_uint64(val); - LOGE("tx_bytes = %ld", station.tx_bytes); + LOGE("tx_bytes = %llu", station.tx_bytes); } else if (strcasecmp(key, "tx_packets") == 0) { station.tx_packets = g_variant_get_uint32(val); LOGE("rx_packets = %d", station.tx_packets); @@ -1838,10 +1838,10 @@ int _wifi_mesh_get_stations_info(wifi_mesh_h handle, LOGE("beacon_loss = %d", station.beacon_loss); } else if (strcasecmp(key, "beacon_rx") == 0) { station.beacon_rx = g_variant_get_uint64(val); - LOGE("beacon_rx = %d", station.beacon_rx); + LOGE("beacon_rx = %llu", station.beacon_rx); } else if (strcasecmp(key, "rx_drop_misc") == 0) { station.rx_drop_misc = g_variant_get_uint64(val); - LOGE("rx_drop_misc = %d", station.rx_drop_misc); + LOGE("rx_drop_misc = %llu", station.rx_drop_misc); } else if (strcasecmp(key, "signal") == 0) { station.signal = g_variant_get_int32(val); LOGE("signal = %d", station.signal); -- 2.34.1