summaryrefslogtreecommitdiff
path: root/usr/src/cmd/intrd/intrd_kstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/intrd/intrd_kstat.c')
-rw-r--r--usr/src/cmd/intrd/intrd_kstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/intrd/intrd_kstat.c b/usr/src/cmd/intrd/intrd_kstat.c
index 6873c12bb5..ba737eee60 100644
--- a/usr/src/cmd/intrd/intrd_kstat.c
+++ b/usr/src/cmd/intrd/intrd_kstat.c
@@ -745,7 +745,7 @@ stats_dup(const stats_t *src)
VERIFY3S(cpu_iter((stats_t *)src, stats_dup_cb, stp), ==,
INTRD_WALK_DONE);
- sts->sts_ncpu = src->sts_ncpu;
+ stp->sts_ncpu = src->sts_ncpu;
stp->sts_lgrp = xcalloc(src->sts_nlgrp, sizeof (cpugrp_t));
for (size_t i = 0; i < src->sts_nlgrp; i++)