Commit eee52d39 authored by Rusty Russell's avatar Rusty Russell

cpuid: fix test.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 8b4ef38b
......@@ -13,7 +13,7 @@ int main(void)
uint32_t info = CPUID_HIGHEST_EXTENDED_FUNCTION_SUPPORTED | CPUID_EXTENDED_L2_CACHE_FEATURES | CPUID_VIRT_PHYS_ADDR_SIZES
| CPUID_PROCINFO_AND_FEATUREBITS;
uint32_t featureset = CPUID_FEAT_ECX_ALL | CPUID_FEAT_EDX_ALL;
if (!cpuid_write_info(info, featureset, NULL)) {
if (!cpuid_write_info(info, featureset, stdout)) {
printf("Failed to write CPU information!\n");
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment