aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmcstat
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-24 04:38:17 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-24 04:38:17 +0000
commit341890e07d8215cad1ee46065e1fb87c94aa657a (patch)
treedb206ef01eb72dc4785c15c8a0f72e73092c0359 /lib/libpmcstat
parent14d13423dd03ea7ca284f9b3eb07e50cfe22bf9f (diff)
downloadsrc-341890e07d8215cad1ee46065e1fb87c94aa657a.tar.gz
src-341890e07d8215cad1ee46065e1fb87c94aa657a.zip
fix !amd64 signature for pmu_sample_rate_get
Notes
Notes: svn path=/head/; revision=334130
Diffstat (limited to 'lib/libpmcstat')
-rw-r--r--lib/libpmcstat/libpmcstat_pmu_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpmcstat/libpmcstat_pmu_util.c b/lib/libpmcstat/libpmcstat_pmu_util.c
index 494a0c5a5068..65bc160dfe76 100644
--- a/lib/libpmcstat/libpmcstat_pmu_util.c
+++ b/lib/libpmcstat/libpmcstat_pmu_util.c
@@ -124,5 +124,5 @@ pmcstat_pmu_sample_rate_get(const char *event_name)
}
#else
-uint64_t pmcstat_pmu_sample_rate_get(void) { return (DEFAULT_SAMPLE_COUNT); }
+uint64_t pmcstat_pmu_sample_rate_get(const char *event_name __unused) { return (DEFAULT_SAMPLE_COUNT); }
#endif