summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_pcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_pcpu.c')
-rw-r--r--sys/kern/subr_pcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_pcpu.c b/sys/kern/subr_pcpu.c
index 5610980..f28ad61 100644
--- a/sys/kern/subr_pcpu.c
+++ b/sys/kern/subr_pcpu.c
@@ -363,7 +363,7 @@ show_pcpu(struct pcpu *pc)
#ifdef WITNESS
db_printf("spin locks held:\n");
- witness_list_locks(&pc->pc_spinlocks);
+ witness_list_locks(&pc->pc_spinlocks, db_printf);
#endif
}
OpenPOWER on IntegriCloud