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

(cherry picked from commit ffe5092c3107afa72696f8d164c3ec587c2255ad)

src/WINNT/client_osi/osilog.c

index 43561aa8285698d2d8a60c1f8d09985ab9a45a13..55ac9d8038f1bad09decab605f980a63f2f003e6 100644 (file)
@@ -253,7 +253,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);