Fix WHYF_perror() format string error

This commit is contained in:
Andrew Bettison 2013-12-10 10:38:03 +10:30
parent 30b2059608
commit f79e6f703a

View File

@ -587,7 +587,7 @@ static void interface_read_dgram(struct overlay_interface *interface)
plen = recvwithttl(interface->alarm.poll.fd,packet, sizeof(packet), &recvttl, &recvaddr);
if (plen == -1) {
WHYF_perror("recvwithttl(%d,%p,%zu,&%d,%p(%s))",
interface->alarm.poll.fd, packet, sizeof packet,
interface->alarm.poll.fd, packet, sizeof packet, recvttl,
&recvaddr, alloca_socket_address(&recvaddr)
);
overlay_interface_close(interface);