diff --git a/test/test/test_power_acpi_cpufreq.c b/test/test/test_power_acpi_cpufreq.c index 6410969e06..22e541d65c 100644 --- a/test/test/test_power_acpi_cpufreq.c +++ b/test/test/test_power_acpi_cpufreq.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "test.h" @@ -553,7 +554,7 @@ test_power_acpi_caps(void) return -1; } - printf("ACPI: Capabilities %lx\n", caps.capabilities); + printf("ACPI: Capabilities %"PRIx64"\n", caps.capabilities); rte_power_unset_env(); return 0;