summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-04-20 14:36:25 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-04-20 14:36:25 +0000
commiteb4091cc66d6d19fb12a659c93e404302783fed9 (patch)
tree95851052a382be35eee09ff446ef95ea37ec0450 /sys/kern
parent9a2346bcefd03a5863437426538523cf5d1a69e7 (diff)
much -> must
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_rwlock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_rwlock.c b/sys/kern/kern_rwlock.c
index b5845e618ce..1a648aa831b 100644
--- a/sys/kern/kern_rwlock.c
+++ b/sys/kern/kern_rwlock.c
@@ -1,4 +1,5 @@
-/* $OpenBSD: kern_rwlock.c,v 1.5 2006/01/06 07:05:12 tedu Exp $ */
+/* $OpenBSD: kern_rwlock.c,v 1.6 2006/04/20 14:36:24 pedro Exp $ */
+
/*
* Copyright (c) 2002, 2003 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -175,7 +176,7 @@ rw_enter_diag(struct rwlock *rwl, int flags)
break;
case RW_DOWNGRADE:
/*
- * If we're downgrading, we much hold the write lock.
+ * If we're downgrading, we must hold the write lock.
*/
if (RW_PROC(curproc) != RW_PROC(rwl->rwl_owner))
panic("rw_enter: not holder");