Make log header message consistent
authorNeale Ferguson <neale@sinenomine.net>
Tue, 31 May 2016 15:51:23 +0000 (11:51 -0400)
committerNeale Ferguson <neale@sinenomine.net>
Tue, 31 May 2016 15:51:23 +0000 (11:51 -0400)
mono/sgen/sgen-gc.h

index 01521422c93f45b925133e573f6c3011c08ee485..b320d25e6ad88b5472aa91f13252abc2e0eeada1 100644 (file)
@@ -135,7 +135,7 @@ extern guint64 stat_objects_copied_major;
                char logTime[80];                                                               \
                time(&t);                                                                       \
                localtime_r(&t, &tod);                                                          \
-               strftime(logTime, sizeof(logTime), "%F-%T", &tod);                              \
+               strftime(logTime, sizeof(logTime), "%F %T", &tod);                              \
                mono_gc_printf (gc_debug_file, "%s " format "\n", logTime, ##__VA_ARGS__);      \
 } } while (0)
 
@@ -147,7 +147,7 @@ extern guint64 stat_objects_copied_major;
                        char logTime[80];                                                               \
                        time(&t);                                                                       \
                        localtime_r(&t,&tod);                                                           \
-                       strftime(logTime, sizeof(logTime), "%F-%T", &tod);                              \
+                       strftime(logTime, sizeof(logTime), "%F %T", &tod);                              \
                        mono_gc_printf (gc_debug_file, "%s " format "\n", logTime, ##__VA_ARGS__);      \
                }                                                                                       \
 } } while (0)