Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpuid.c: cpuid_load_family(): use string functions for the macro
the CPUID_VENDOR_AMD macro is a string. With sizeof() we count every single character that is 1, including the character at the end of the string '\0'. With strlen() instead we calculate only the useful characters before '\0'. Signed-off-by: Peppe289 <[email protected]>
- Loading branch information