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