mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
sd-dhcp6-client: use %m instead of strerror(errno)
This commit is contained in:
parent
971ff8c78b
commit
6ec60d2072
@ -650,7 +650,7 @@ static int client_receive_message(sd_event_source *s, int fd, uint32_t revents,
|
||||
|
||||
len = read(fd, message, buflen);
|
||||
if ((size_t)len < sizeof(DHCP6Message)) {
|
||||
log_dhcp6_client(client, "could not receive message from UDP socket: %s", strerror(errno));
|
||||
log_dhcp6_client(client, "could not receive message from UDP socket: %m");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user