Fix print_date_and_time
[alexxy/gromacs.git] / src / programs / mdrun / md.c
index 8fb7afb3ffcb7bea0165d07d9cd2b0803d66213e..65307a83330da131f0c4aeb5fa7999464121e4b2 100644 (file)
@@ -129,7 +129,7 @@ static void reset_all_counters(FILE *fplog, t_commrec *cr,
     *step_rel      = 0;
     wallcycle_start(wcycle, ewcRUN);
     walltime_accounting_start(walltime_accounting);
-    print_date_and_time(fplog, cr->nodeid, "Restarted time", walltime_accounting);
+    print_date_and_time(fplog, cr->nodeid, "Restarted time", gmx_gettime());
 }
 
 double do_md(FILE *fplog, t_commrec *cr, int nfile, const t_filenm fnm[],