]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-log-crlf-20061006
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 6 Oct 2006 17:23:27 +0000 (17:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 6 Oct 2006 17:23:27 +0000 (17:23 +0000)
use CR-LF as the afsd.log EOL so that it can be read with notepad.exe

src/WINNT/client_osi/osilog.c

index ed6fa7df7ad5f7a025cf0de746da783a5f819aef..e0168d3ffa2789fdc6afe0002f951ef06092bc81 100644 (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);