> @@ -37,33 +38,35 @@ static FILE * file_logfile = NULL; > static int minLevel = INFO; > > static void printLogHeader(int level, FILE *outfile) { > - time_t current_time = time(NULL); > - struct tm *t = gmtime (¤t_time); > + struct timeval current_time; > + gettimeofday(¤t_time, NULL); > + struct tm *t = gmtime(¤t_time.tv_sec); > + int msecs = current_time.tv_usec / 1000; Stylistically, I like putting all the variable declarations before places where we start using them, but I guess now I'm just being really picky. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list