mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 13:38:45 +02:00
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:
parent
3919633352
commit
aa8557ef59
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue