summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_synch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 7e166e7cdf1..306c72eac95 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.31 2001/02/27 09:07:53 csapuntz Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.32 2001/03/15 21:18:30 art Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -889,7 +889,8 @@ db_show_all_procs(addr, haddr, count, modif)
pp = p->p_pptr;
if (p->p_stat) {
- db_printf("%5d ", p->p_pid);
+ db_printf("%c%5d ", p == curproc ? '*' : ' ',
+ p->p_pid);
switch (*mode) {