summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/lock_mon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/lock_mon.c b/kern/lock_mon.c
index a9a3989..0d69ac1 100644
--- a/kern/lock_mon.c
+++ b/kern/lock_mon.c
@@ -281,7 +281,7 @@ struct lock_info *li;
li->masked, (li->masked*100)/sum,
li->stack, li->stack/sum,
li->time, li->time/sum);
- db_search_symbol(li->lock, 0, &off);
+ db_free_symbol(db_search_symbol(li->lock, 0, &off));
if (off < 1024)
db_printsym(li->lock, 0);
else {