struct connman_device *device = user_data;
struct ethernet_data *ethernet = connman_device_get_data(device);
- DBG("index %d flags %ld change %ld", ethernet->index, flags, change);
+ DBG("index %d flags %d change %d", ethernet->index, flags, change);
if ((ethernet->flags & IFF_UP) != (flags & IFF_UP)) {
if (flags & IFF_UP) {
return FALSE;
}
- DBG("Read %d bytes (offset %d)", len, modem->offset);
+ DBG("Read %zu bytes (offset %d)", len, modem->offset);
if (g_str_has_suffix(modem->buf, "\r\n") == TRUE) {
for (list = modem->callbacks; list; list = list->next) {