1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-21 13:34:21 +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->lifetime == 0)
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->server_address,
lease->lifetime);
(unsigned long long) lease->lifetime);
r = dhcp_lease_set_default_subnet_mask(lease);