summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ethernet.c2
-rw-r--r--plugins/modem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ethernet.c b/plugins/ethernet.c
index 79ddf2b3..e6d45ff4 100644
--- a/plugins/ethernet.c
+++ b/plugins/ethernet.c
@@ -51,7 +51,7 @@ static void ethernet_newlink(unsigned flags, unsigned change, void *user_data)
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) {
diff --git a/plugins/modem.c b/plugins/modem.c
index 17036466..4c8a3e3d 100644
--- a/plugins/modem.c
+++ b/plugins/modem.c
@@ -141,7 +141,7 @@ static gboolean modem_event(GIOChannel *channel,
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) {