Correct an indexing error (a change missed out in #184802).
This commit is contained in:
parent
fb95775d9a
commit
e4921388d2
@ -958,7 +958,7 @@ pmc_amd_initialize(void)
|
||||
for (i = 0; i < AMD_NPMCS; i++) {
|
||||
(void) snprintf(amd_pmcdesc[i].pm_descr.pd_name,
|
||||
sizeof(amd_pmcdesc[i].pm_descr.pd_name), "%s-%d",
|
||||
name, i-1);
|
||||
name, i);
|
||||
amd_pmcdesc[i].pm_descr.pd_class = class;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user