Fix dlog format error
[platform/core/connectivity/net-config.git] / gtest / netstat.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 01af513..02b8f20
@@ -54,7 +54,7 @@ error_e NetStat::GetWifiTotalTxBytes(void)
        g_variant_get(message, "(t)", &tx_bytes);
        g_variant_unref(message);
 
-       GLOGD("Succeeded to get wifi total tx bytes %d", tx_bytes);
+       GLOGD("Succeeded to get wifi total tx bytes %llu", tx_bytes);
 
        return ERROR_NONE;
 }
@@ -80,7 +80,7 @@ error_e NetStat::GetWifiTotalRxBytes(void)
        g_variant_get(message, "(t)", &rx_bytes);
        g_variant_unref(message);
 
-       GLOGD("Succeeded to get wifi total rx bytes %d", rx_bytes);
+       GLOGD("Succeeded to get wifi total rx bytes %llu", rx_bytes);
 
        return ERROR_NONE;
 }
@@ -106,7 +106,7 @@ error_e NetStat::GetWifiLastTxBytes(void)
        g_variant_get(message, "(t)", &tx_bytes);
        g_variant_unref(message);
 
-       GLOGD("Succeeded to get wifi last tx bytes %d", tx_bytes);
+       GLOGD("Succeeded to get wifi last tx bytes %llu", tx_bytes);
 
        return ERROR_NONE;
 }
@@ -132,7 +132,7 @@ error_e NetStat::GetWifiLastRxBytes(void)
        g_variant_get(message, "(t)", &rx_bytes);
        g_variant_unref(message);
 
-       GLOGD("Succeeded to get wifi last rx bytes %d", rx_bytes);
+       GLOGD("Succeeded to get wifi last rx bytes %llu", rx_bytes);
 
        return ERROR_NONE;
 }