Add space to the message printed by errMessage()
This commit is contained in:
committed by
Michael Davidsaver
parent
9048aa3438
commit
e6b8ecd55e
@@ -241,7 +241,7 @@ void asCaStart(void)
|
||||
epicsThreadGetStackSize(epicsThreadStackBig),
|
||||
(EPICSTHREADFUNC)asCaTask,0);
|
||||
if(threadid==0) {
|
||||
errMessage(0,"asCaStart: taskSpawn Failure\n");
|
||||
errMessage(0,"asCaStart: taskSpawn Failure");
|
||||
}
|
||||
}
|
||||
epicsMutexMustLock(asCaTaskLock);
|
||||
|
||||
@@ -73,6 +73,8 @@ LIBCOM_API extern int errVerbose;
|
||||
* the status symbol and string values, and the name of the task which invoked errMessage.
|
||||
* It also prints the name of the source file and the line number from which the call was issued.
|
||||
*
|
||||
* The message to print should not include a newline as one is added implicitly.
|
||||
*
|
||||
* The status code used for the 1st argument is:
|
||||
* - 0: Find latest vxWorks or Unix error (errno value).
|
||||
* - -1: Don't report status.
|
||||
@@ -82,7 +84,7 @@ LIBCOM_API extern int errVerbose;
|
||||
* \param PM The message to print
|
||||
*/
|
||||
#define errMessage(S, PM) \
|
||||
errPrintf(S, __FILE__, __LINE__, "%s", PM)
|
||||
errPrintf(S, __FILE__, __LINE__, " %s\n", PM)
|
||||
|
||||
/** epicsPrintf is an old name for errlog routines */
|
||||
#define epicsPrintf errlogPrintf
|
||||
|
||||
@@ -47,7 +47,7 @@ clockid_t ids[] = {
|
||||
return;
|
||||
}
|
||||
|
||||
errMessage(errlogMinor, "Warning: failed to setup monotonic time source\n");
|
||||
errMessage(errlogMinor, "Warning: failed to setup monotonic time source");
|
||||
}
|
||||
|
||||
epicsUInt64 epicsMonotonicResolution(void)
|
||||
|
||||
Reference in New Issue
Block a user