aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pmccontrol
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-05-01 14:11:49 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-05-01 14:11:49 +0000
commitc5153e190bd2410c60a50e108a7a60cde9a3c4bc (patch)
tree1e7573a97fa735d4770310305b9ec83d8767f4a7 /usr.sbin/pmccontrol
parentb60d26c9b930c7b267cd7f7b4b73d4b44d744124 (diff)
Notes
Diffstat (limited to 'usr.sbin/pmccontrol')
-rw-r--r--usr.sbin/pmccontrol/pmccontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c
index a1ed2d5954180..6ffa2d11c1fb4 100644
--- a/usr.sbin/pmccontrol/pmccontrol.c
+++ b/usr.sbin/pmccontrol/pmccontrol.c
@@ -288,7 +288,7 @@ pmcc_do_list_events(void)
eventnamelist = NULL;
for (i = 0; i < ci->pm_nclass; i++) {
- c = ci->pm_classes[i];
+ c = ci->pm_classes[i].pm_class;
printf("%s\n", pmc_name_of_class(c));
if (pmc_event_names_of_class(c, &eventnamelist, &nevents) < 0)