Fix wrong print format
[platform/core/connectivity/net-config.git] / src / network-statistics.c
index cc8f803..d948882 100755 (executable)
@@ -135,14 +135,14 @@ static gboolean handle_get_wifi_total_rx_bytes(
        netconfig_vconf_get_int(VCONFKEY_NETWORK_WIFI_PKT_TOTAL_RCV, &val);
        rx_bytes = (guint64)val;
 
-       DBG("got rx packet size from vconf [%lld]", rx_bytes);
+       DBG("got rx packet size from vconf [%"G_GUINT64_FORMAT"]", rx_bytes);
 
        if (netconfig_wifi_get_bytes_statistics(&tx, &rx) == TRUE)
                total_bytes = rx + rx_bytes;
        else
                total_bytes = rx_bytes;
 
-       DBG("wifi total rx bytes [%lld]", total_bytes);
+       DBG("wifi total rx bytes [%"G_GUINT64_FORMAT"]", total_bytes);
 
        network_statistics_complete_get_wifi_total_rx_bytes(object, context, total_bytes);
        return TRUE;