add ks_class to output

This commit is contained in:
Doug MacEachern 2007-10-10 16:36:13 +00:00
parent 1a974c02f2
commit 040a2e1520
1 changed files with 2 additions and 2 deletions

View File

@ -15,9 +15,9 @@ int main(int argc, char **argv) {
if (strncmp(kp->ks_name, "kstat_", 6) == 0) {
continue;
}
fprintf(stdout, "%-5s %s.%s[%d]\n",
fprintf(stdout, "%-5s %s::%s.%s[%d]\n",
kstat_type_names[kp->ks_type],
kp->ks_module, kp->ks_name, kp->ks_instance);
kp->ks_class, kp->ks_module, kp->ks_name, kp->ks_instance);
}
kstat_close(kc);