diff --git a/exp/dump_kstats.c b/exp/dump_kstats.c index 12b3f4a3..c9f2f105 100644 --- a/exp/dump_kstats.c +++ b/exp/dump_kstats.c @@ -15,9 +15,9 @@ int main(int argc, char **argv) { if (strncmp(kp->ks_name, "kstat_", 6) == 0) { continue; } - fprintf(stdout, "%-5s %s\n", + fprintf(stdout, "%-5s %s.%s[%d]\n", kstat_type_names[kp->ks_type], - kp->ks_name); + kp->ks_module, kp->ks_name, kp->ks_instance); } kstat_close(kc);