mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-27 16:20:42 +01:00
trivial: fix format type of DHCP client logging messages
This commit is contained in:
parent
14204ce462
commit
90b478e905
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue