diff --git a/examples/platforms/posix/radio.c b/examples/platforms/posix/radio.c index 82fa79707..6abfe12c5 100644 --- a/examples/platforms/posix/radio.c +++ b/examples/platforms/posix/radio.c @@ -678,7 +678,7 @@ void radioTransmit(struct RadioMessage *aMessage, const struct otRadioFrame *aFr if (rval < 0) { - perror("recvfrom"); + perror("sendto"); exit(EXIT_FAILURE); } }