summaryrefslogtreecommitdiff
path: root/kern/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/lock.c')
-rw-r--r--kern/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/lock.c b/kern/lock.c
index 36b6d209..d23a2b47 100644
--- a/kern/lock.c
+++ b/kern/lock.c
@@ -672,7 +672,7 @@ void db_show_all_slocks(void)
for (i = 0; i < simple_locks_taken; i++) {
info = &simple_locks_info[i];
db_printf("%d: %s (", i, info->expr);
- db_printsym(info->l, DB_STGY_ANY);
+ db_printsym((uintptr_t) info->l, DB_STGY_ANY);
db_printf(") locked by %s\n", info->loc);
}
}