From: Jeffrey Altman Date: Wed, 30 Aug 2006 21:10:39 +0000 (+0000) Subject: STABLE14-windows-init-log-eol-20060830 X-Git-Tag: openafs-stable-1_4_2fc3~20 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=82fb20bf7b455956a7a3227b130c64896c941bdc;p=packages%2Fo%2Fopenafs.git STABLE14-windows-init-log-eol-20060830 change EOL to CR-LF for afsd_init.log (cherry picked from commit 48471c805ee43192e3d3adf1ffac995c16257903) --- diff --git a/src/WINNT/afsd/afsd_init.c b/src/WINNT/afsd/afsd_init.c index bc9d7fee4..e8a42f0ef 100644 --- a/src/WINNT/afsd/afsd_init.c +++ b/src/WINNT/afsd/afsd_init.c @@ -114,7 +114,7 @@ afsi_log(char *pattern, ...) if ( afsi_log_useTimestamp ) { GetTimeFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, t, sizeof(t)); GetDateFormat(LOCALE_SYSTEM_DEFAULT, 0, NULL, NULL, d, sizeof(d)); - StringCbPrintfA(u, sizeof(u), "%s %s: %s\n", d, t, s); + StringCbPrintfA(u, sizeof(u), "%s %s: %s\r\n", d, t, s); if (afsi_file != INVALID_HANDLE_VALUE) WriteFile(afsi_file, u, strlen(u), &zilch, NULL); #ifdef NOTSERVICE