Add space to the message printed by errMessage()
This commit is contained in:
committed by
Michael Davidsaver
parent
9048aa3438
commit
e6b8ecd55e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user