summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsaerome kim <saerome.kim@samsung.com>2018-12-07 13:02:06 +0900
committersaerome kim <saerome.kim@samsung.com>2018-12-07 13:04:47 +0900
commit74d569ab7b1e62ad8647c3644abe3bc4aba09e97 (patch)
tree9cb65f3d6ec5f9f6596c678e6d98b61d9c4c50ad
parent4de53f3e66193d10e0e6da6d6194335641450855 (diff)
downloadwifi-mesh-74d569ab7b1e62ad8647c3644abe3bc4aba09e97.tar.gz
wifi-mesh-74d569ab7b1e62ad8647c3644abe3bc4aba09e97.tar.bz2
wifi-mesh-74d569ab7b1e62ad8647c3644abe3bc4aba09e97.zip
- 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 <saerome.kim@samsung.com>
-rw-r--r--src/wifi-mesh-dbus.c10
1 files 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);