1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

fix type mismatch on some architectures

This commit is contained in:
Avram Dorfman 2024-12-19 14:01:18 +00:00
parent 86c7033464
commit 58ed3cbd02

View File

@ -1617,10 +1617,10 @@ static int client_parse_message(
lease->server_address == 0 || lease->server_address == 0 ||
lease->lifetime == 0) lease->lifetime == 0)
return log_dhcp_client_errno(client, SYNTHETIC_ERRNO(ENOMSG), return log_dhcp_client_errno(client, SYNTHETIC_ERRNO(ENOMSG),
"received lease lacks address(%#x), server address(%#x) or lease lifetime(%#lx), ignoring.", "received lease lacks address(%#x), server address(%#x) or lease lifetime(%#llx), ignoring.",
lease->address, lease->address,
lease->server_address, lease->server_address,
lease->lifetime); (unsigned long long) lease->lifetime);
r = dhcp_lease_set_default_subnet_mask(lease); r = dhcp_lease_set_default_subnet_mask(lease);