]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-init-log-eol-20060830
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 30 Aug 2006 21:10:39 +0000 (21:10 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 30 Aug 2006 21:10:39 +0000 (21:10 +0000)
change EOL to CR-LF for afsd_init.log

(cherry picked from commit 48471c805ee43192e3d3adf1ffac995c16257903)

src/WINNT/afsd/afsd_init.c

index bc9d7fee4e5d023b6ac2380a81b5f27390854828..e8a42f0ef8f7733bd9c68690bd7d7eafa97292ee 100644 (file)
@@ -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