windows-log-crlf-20061006

use CR-LF as the afsd.log EOL so that it can be read with notepad.exe
This commit is contained in:
Jeffrey Altman 2006-10-06 17:23:27 +00:00
parent 04b51cc8df
commit ffe5092c31

View File

@ -239,7 +239,7 @@ void osi_LogPrint(osi_log_t *logp, FILE_HANDLE handle)
lep->parms[0], lep->parms[1],
lep->parms[2], lep->parms[3]);
snprintf(wholemsg, sizeof(wholemsg),
"time %d.%06d, tid %d %s\n",
"time %d.%06d, tid %d %s\r\n",
lep->micros / 1000000,
lep->micros % 1000000,
lep->tid, msg);