summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-11-24 17:26:52 +0100
committerThomas Haller <thaller@redhat.com>2014-11-24 17:26:54 +0100
commit0b5975251261916ebf5d0849cbe7af64d1f58ba5 (patch)
tree609be58bb21ec0f39549889de4f0aa40ec63e7fb
parent13d9b2832341f376cf8ca6b9e467ade040c7b680 (diff)
downloadNetworkManager-0b5975251261916ebf5d0849cbe7af64d1f58ba5.tar.gz
dhcp: fix printf format string for printing guint32 variable
Fixes: 9013fd42d6d3cf2ed458043744611c3a996b0c66
-rw-r--r--src/dhcp-manager/nm-dhcp-systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcp-manager/nm-dhcp-systemd.c b/src/dhcp-manager/nm-dhcp-systemd.c
index c0c0c91471..5d36282cff 100644
--- a/src/dhcp-manager/nm-dhcp-systemd.c
+++ b/src/dhcp-manager/nm-dhcp-systemd.c
@@ -251,7 +251,7 @@ lease_to_ip4_config (sd_dhcp_lease *lease,
address.timestamp = nm_utils_get_monotonic_timestamp_s ();
address.lifetime = address.preferred = lifetime;
end_time = (guint64) time (NULL) + lifetime;
- LOG_LEASE (LOGD_DHCP4, " expires in %" G_GUINT64_FORMAT " seconds", lifetime);
+ LOG_LEASE (LOGD_DHCP4, " expires in %" G_GUINT32_FORMAT " seconds", lifetime);
add_option_u64 (options,
dhcp4_requests,
DHCP_OPTION_IP_ADDRESS_LEASE_TIME,