From: Jeffrey Altman Date: Fri, 6 Oct 2006 17:23:27 +0000 (+0000) Subject: windows-log-crlf-20061006 X-Git-Tag: BP-openafs-windows-kdfs-ifs~1010 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ffe5092c3107afa72696f8d164c3ec587c2255ad;p=packages%2Fo%2Fopenafs.git windows-log-crlf-20061006 use CR-LF as the afsd.log EOL so that it can be read with notepad.exe --- diff --git a/src/WINNT/client_osi/osilog.c b/src/WINNT/client_osi/osilog.c index ed6fa7df7..e0168d3ff 100644 --- a/src/WINNT/client_osi/osilog.c +++ b/src/WINNT/client_osi/osilog.c @@ -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);