trivial: fix format type of DHCP client logging messages
authorDan Williams <dcbw@redhat.com>
Mon, 21 Mar 2011 21:17:49 +0000 (16:17 -0500)
committerDan Williams <dcbw@redhat.com>
Mon, 21 Mar 2011 21:17:49 +0000 (16:17 -0500)
src/dhcp-manager/nm-dhcp-manager.c

index 8e2392d..e65f693 100644 (file)
@@ -235,19 +235,19 @@ nm_dhcp_manager_handle_event (DBusGProxy *proxy,
 
        client = get_client_for_pid (manager, (GPid) temp);
        if (client == NULL) {
-               nm_log_warn (LOGD_DHCP, "(pid %zd) unhandled DHCP event for interface %s", temp, iface);
+               nm_log_warn (LOGD_DHCP, "(pid %ld) unhandled DHCP event for interface %s", temp, iface);
                goto out;
        }
 
        if (strcmp (iface, nm_dhcp_client_get_iface (client))) {
-               nm_log_warn (LOGD_DHCP, "(pid %zd) received DHCP event from unexpected interface '%s' (expected '%s')",
+               nm_log_warn (LOGD_DHCP, "(pid %ld) received DHCP event from unexpected interface '%s' (expected '%s')",
                             temp, iface, nm_dhcp_client_get_iface (client));
                goto out;
        }
 
        reason = get_option (options, "reason");
        if (reason == NULL) {
-               nm_log_warn (LOGD_DHCP, "(pid %zd) DHCP event didn't have a reason", temp);
+               nm_log_warn (LOGD_DHCP, "(pid %ld) DHCP event didn't have a reason", temp);
                goto out;
        }