We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f858c30 commit 403d652Copy full SHA for 403d652
src/x86/init.c
@@ -72,7 +72,7 @@ void cpuinfo_x86_init_processor(struct cpuinfo_x86_processor* processor) {
72
for (uint32_t i = 0; i < 3; i++) {
73
brand_string[i] = cpuid(UINT32_C(0x80000002) + i);
74
}
75
- memcpy(processor->brand_string, brand_string, sizeof(processor->brand_string));
+ memcpy(processor->brand_string, brand_string, sizeof(brand_string));
76
cpuinfo_log_debug("raw CPUID brand string: \"%48s\"", processor->brand_string);
77
78
0 commit comments