change cpu_info vendor to 'Intel' instead of 'GenuineIntel'
This commit is contained in:
parent
903fabc3e4
commit
cb27ce6b1f
|
@ -277,7 +277,8 @@ int sigar_cpu_info_get(sigar_t *sigar, sigar_cpu_info_t *info)
|
|||
|
||||
size = sizeof(info->vendor);
|
||||
if (RegQueryValueEx(cpu, "VendorIdentifier", NULL, NULL,
|
||||
(LPVOID)&info->vendor, &size))
|
||||
(LPVOID)&info->vendor, &size) ||
|
||||
strEQ(info->vendor, "GenuineIntel"))
|
||||
{
|
||||
SIGAR_SSTRCPY(info->vendor, "Intel");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue