Skip to content

Commit

Permalink
exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output.
Browse files Browse the repository at this point in the history
%llu fails on 32-bit compilers.
  • Loading branch information
acpibob committed Mar 29, 2022
1 parent 10ba4d3 commit 82a46ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/components/executer/exsystem.c
Expand Up @@ -345,7 +345,9 @@ AcpiExSystemDoSleep (
if (HowLongMs > 10)
{
ACPI_WARNING ((AE_INFO,
"Firmware issue: Excessive sleep time (%lu ms > 10 ms) in ACPI Control Method", HowLongMs));
"Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
" in ACPI Control Method",
ACPI_FORMAT_UINT64 (HowLongMs)));
}

/*
Expand Down

0 comments on commit 82a46ba

Please sign in to comment.