From a19266dc97f46f138f673dbb08b1509b182f1e94 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Sat, 12 Oct 2024 00:34:59 +0300 Subject: [PATCH] fix(proc.plugin/zfs): fix arcstats.pm (#18758) --- src/collectors/proc.plugin/proc_spl_kstat_zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collectors/proc.plugin/proc_spl_kstat_zfs.c b/src/collectors/proc.plugin/proc_spl_kstat_zfs.c index 50c0ec50f5592e..9286479c9bf4c4 100644 --- a/src/collectors/proc.plugin/proc_spl_kstat_zfs.c +++ b/src/collectors/proc.plugin/proc_spl_kstat_zfs.c @@ -55,7 +55,7 @@ int do_proc_spl_kstat_zfs_arcstats(int update_every, usec_t dt) { arl_expect(arl_base, "hash_chain_max", &arcstats.hash_chain_max); arl_expect(arl_base, "p", &arcstats.p); arl_expect(arl_base, "pd", &arcstats.pd); - arl_expect(arl_base, "pm", &arcstats.pd); + arl_expect(arl_base, "pm", &arcstats.pm); arl_expect(arl_base, "c", &arcstats.c); arl_expect(arl_base, "c_min", &arcstats.c_min); arl_expect(arl_base, "c_max", &arcstats.c_max);