diff --git a/modules/libcom/test/osiSockTest.c b/modules/libcom/test/osiSockTest.c index e99b9a8c9..f2adb41cd 100644 --- a/modules/libcom/test/osiSockTest.c +++ b/modules/libcom/test/osiSockTest.c @@ -325,7 +325,7 @@ void udpSockFanoutTestIface(const osiSockAddr* addr) /* test to see if send is possible (not EPERM) */ ret = sendto(sender, buf.bytes, sizeof(buf.bytes), 0, &addr->sa, sizeof(*addr)); if(ret!=(int)sizeof(buf.bytes)) { - testDiag("test sendto() error %d (%d): %s", ret, (int)SOCKERRNO, strerror(err)); + testDiag("test sendto() error %d (%d)", ret, (int)SOCKERRNO); goto cleanup; }