o fixed errno based diagnostic converting errno to string after errno was replaced
This commit is contained in:
1 parent
c020be9e04
commit
1584471439
1 file changed
+1
-1
@@ -248,8 +248,8 @@ void rsrv_online_notify_task(void *pParm)
|
||||
status = send (sock, (char *)&msg, sizeof(msg), 0);
|
||||
if (status < 0) {
|
||||
char sockErrBuf[64];
|
||||
ipAddrToDottedIP (&pNode->addr.ia, buf, sizeof(buf));
|
||||
epicsSocketConvertErrnoToString ( sockErrBuf, sizeof ( sockErrBuf ) );
|
||||
ipAddrToDottedIP (&pNode->addr.ia, buf, sizeof(buf));
|
||||
errlogPrintf ( "%s: CA beacon (send to \"%s\") error was \"%s\"\n",
|
||||
__FILE__, buf, sockErrBuf);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user