Fix format string in fprintf call

When writing out boot duration,
we're passing in a double, not a
a float, but were using %f.
This commit is contained in:
Ray Strode 2008-09-25 16:04:02 -04:00
parent 3919633352
commit aa8557ef59

View file

@ -165,7 +165,7 @@ save_boot_duration (ply_boot_splash_t *splash)
if (fp != NULL)
{
fprintf (fp, "%.1f\n", (ply_get_timestamp () - splash->start_time));
fprintf (fp, "%.1lf\n", (ply_get_timestamp () - splash->start_time));
fclose (fp);
}
}