summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-10-09 13:12:00 +0200
committerThomas Haller <thaller@redhat.com>2014-10-09 13:12:51 +0200
commit94a6f609f7ecf3108925a6dc0c748e7d18b6e9e1 (patch)
tree69fe91c2a2b5756579c3ff59a5d9bee2beb31a8d
parent8c48fcf96ce1789c88fdfe963b28b03e50904a88 (diff)
downloadNetworkManager-94a6f609f7ecf3108925a6dc0c748e7d18b6e9e1.tar.gz
platform: fix format string for logging MTU in nm_platform_link_set_mtu()
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/platform/nm-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index ffe09238d8..fb2058faa7 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -938,7 +938,7 @@ nm_platform_link_set_mtu (int ifindex, guint32 mtu)
g_return_val_if_fail (mtu > 0, FALSE);
g_return_val_if_fail (klass->link_set_mtu, FALSE);
- debug ("link: setting '%s' (%d) mtu %d", nm_platform_link_get_name (ifindex), ifindex, mtu);
+ debug ("link: setting '%s' (%d) mtu %"G_GUINT32_FORMAT, nm_platform_link_get_name (ifindex), ifindex, mtu);
return klass->link_set_mtu (platform, ifindex, mtu);
}