Add space to the message printed by errMessage()

This commit is contained in:
Jure Varlec authored and Michael Davidsaver committed 2022-07-28 13:11:29 -07:00
1 parent 9048aa3438
commit e6b8ecd55e
3 files changed
+5 -3

No files matched your search

+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