Fix string formatting warnings.

This commit is contained in:
C.W. Betts
2021-03-29 13:59:22 -06:00
parent fb7a8886f1
commit e4735bcf7a
2 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ bool HostInterface::BootSystem(const SystemBootParameters& parameters)
if (!AcquireHostDisplay())
{
ReportFormattedError(g_host_interface->TranslateString("System", "Failed to acquire host display."));
ReportError(g_host_interface->TranslateString("System", "Failed to acquire host display."));
OnSystemDestroyed();
return false;
}
@ -118,7 +118,7 @@ bool HostInterface::BootSystem(const SystemBootParameters& parameters)
{
if (!System::IsStartupCancelled())
{
ReportFormattedError(
ReportError(
g_host_interface->TranslateString("System", "System failed to boot. The log may contain more information."));
}