print strerror(errno)

This commit is contained in:
Marty Kraimer
2002-03-13 13:14:47 +00:00
parent b8553b00d8
commit ab090ce4ea

View File

@@ -55,6 +55,7 @@ static char *sccsId = "%W% %G%";
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include <vxWorks.h>
#include <taskLib.h>
@@ -1413,8 +1414,8 @@ void write_notify_reply(void *pArg)
*/
status = semGive(pClient->blockSem);
if(status != OK){
logMsg("CA block sem corrupted\n",
NULL,
logMsg("CA block sem corrupted %s\n",
strerror(errno),
NULL,
NULL,
NULL,