space in errPrintf() output

This commit is contained in:
Michael Davidsaver
2024-01-24 11:32:26 -05:00
parent 0495ac3bc5
commit 77490d4939

View File

@@ -500,7 +500,7 @@ void errPrintf(long status, const char *pFileName, int lineno,
errSymLookup(status, name, sizeof(name));
}
nchar = epicsSnprintf(buf, pvt.maxMsgSize, "%s%sfilename=\"%s\" line number=%d",
nchar = epicsSnprintf(buf, pvt.maxMsgSize, "%s%sfilename=\"%s\" line number=%d ",
name, status ? " " : "", pFileName, lineno);
if(nchar < pvt.maxMsgSize)
nchar += epicsVsnprintf(buf + nchar, pvt.maxMsgSize - nchar, pformat, pvar);