aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2019-12-24 16:19:33 +0000
committerConrad Meyer <cem@FreeBSD.org>2019-12-24 16:19:33 +0000
commitfea73412a0079f7298ff672b0518bbbb288bc295 (patch)
treede5142435ca3980f799dcf8eb259c880712d3e19 /sys/kern/kern_sx.c
parent57462f8f818c19d1dbc95c5a8611d8b21c297a4b (diff)
Notes
Diffstat (limited to 'sys/kern/kern_sx.c')
-rw-r--r--sys/kern/kern_sx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c
index 57a4e4501071..fa6c1da58286 100644
--- a/sys/kern/kern_sx.c
+++ b/sys/kern/kern_sx.c
@@ -1526,7 +1526,7 @@ db_show_sx(const struct lock_object *lock)
int
sx_chain(struct thread *td, struct thread **ownerp)
{
- struct sx *sx;
+ const struct sx *sx;
/*
* Check to see if this thread is blocked on an sx lock.