Module Name:    src
Committed By:   ozaki-r
Date:           Wed Jul 30 07:44:00 UTC 2014

Modified Files:
        src/sys/kern: kern_rwlock.c

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/kern/kern_rwlock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_rwlock.c
diff -u src/sys/kern/kern_rwlock.c:1.42 src/sys/kern/kern_rwlock.c:1.43
--- src/sys/kern/kern_rwlock.c:1.42	Sat Oct 19 21:01:39 2013
+++ src/sys/kern/kern_rwlock.c	Wed Jul 30 07:44:00 2014
@@ -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 @@ rw_vector_enter(krwlock_t *rw, const krw
 	/*
 	 * 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

Reply via email to