Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Fix typo in comment



details:   https://anonhg.NetBSD.org/src/rev/247e5f331ace
branches:  trunk
changeset: 331067:247e5f331ace
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Jul 30 07:44:00 2014 +0000

description:
Fix typo in comment

diffstat:

 sys/kern/kern_rwlock.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d9294509200d -r 247e5f331ace sys/kern/kern_rwlock.c
--- a/sys/kern/kern_rwlock.c    Wed Jul 30 07:20:34 2014 +0000
+++ b/sys/kern/kern_rwlock.c    Wed Jul 30 07:44:00 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_rwlock.c,v 1.42 2013/10/19 21:01:39 mrg Exp $     */
+/*     $NetBSD: kern_rwlock.c,v 1.43 2014/07/30 07:44:00 ozaki-r Exp $ */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.42 2013/10/19 21:01:39 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_rwlock.c,v 1.43 2014/07/30 07:44:00 ozaki-r Exp $");
 
 #define        __RWLOCK_PRIVATE
 
@@ -290,7 +290,7 @@
        /*
         * We play a slight trick here.  If we're a reader, we want
         * increment the read count.  If we're a writer, we want to
-        * set the owner field and whe WRITE_LOCKED bit.
+        * set the owner field and the WRITE_LOCKED bit.
         *
         * In the latter case, we expect those bits to be zero,
         * therefore we can use an add operation to set them, which



Home | Main Index | Thread Index | Old Index