Fixed build errors 88/194688/1 accepted/tizen/unified/20181207.061426 submit/tizen/20181207.042006
authorsaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 04:02:06 +0000 (13:02 +0900)
committersaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 04:04:47 +0000 (13:04 +0900)
- 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>
src/wifi-mesh-dbus.c

index f294e14f3d507e834663bab4e0c757063b60696b..1937127e5e007dc5d8c3875c3f2f46db4f60ddf4 100644 (file)
@@ -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);