Add space to the message printed by errMessage()

This commit is contained in:
Jure Varlec
2022-06-16 10:55:10 +02:00
committed by Michael Davidsaver
parent 9048aa3438
commit e6b8ecd55e
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -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