Fixed format string.

This commit is contained in:
sidney
2024-12-19 03:04:55 +01:00
parent a3cc9b4757
commit 8a7cd9c632

View File

@@ -118,7 +118,7 @@ void SimExit (int Code)
/* Exit the simulation with an exit code */
{
if (PrintCycles) {
fprintf (stdout, PRIu64 " cycles\n", PRegs.counter_clock_cycles);
fprintf (stdout, "%" PRIu64 " cycles\n", PRegs.counter_clock_cycles);
}
exit (Code);
}