sd-dhcp6-client: use %m instead of strerror(errno)

This commit is contained in:
Ronny Chevalier 2014-06-24 19:00:31 +02:00 committed by Tom Gundersen
parent 971ff8c78b
commit 6ec60d2072

View file

@ -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;
}