summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sx.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-05-18 15:05:41 +0000
committerjhb <jhb@FreeBSD.org>2007-05-18 15:05:41 +0000
commitb12787f5fb03b5f8984a608fe5ea86042aa671b4 (patch)
tree1371a66ce30d78ce780f811c269364572e58e3d1 /sys/kern/kern_sx.c
parentf78df6dd248008e06cab7023afc309d6678d3f68 (diff)
downloadFreeBSD-src-b12787f5fb03b5f8984a608fe5ea86042aa671b4.zip
FreeBSD-src-b12787f5fb03b5f8984a608fe5ea86042aa671b4.tar.gz
Fix a comment.
Diffstat (limited to 'sys/kern/kern_sx.c')
-rw-r--r--sys/kern/kern_sx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c
index c6f87f3..9ecba95 100644
--- a/sys/kern/kern_sx.c
+++ b/sys/kern/kern_sx.c
@@ -96,8 +96,8 @@ __FBSDID("$FreeBSD$");
} while (0)
/*
- * Returns true if an exclusive lock is recursed. It curthread
- * currently has an exclusive lock.
+ * Returns true if an exclusive lock is recursed. It assumes
+ * curthread currently has an exclusive lock.
*/
#define sx_recursed(sx) ((sx)->sx_recurse != 0)
OpenPOWER on IntegriCloud