Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/b33ab5c2bef1
branches:  trunk
changeset: 829124:b33ab5c2bef1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Jan 18 08:40:56 2018 +0000

description:
typo in comment

diffstat:

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

diffs (27 lines):

diff -r 8a2235ae0c86 -r b33ab5c2bef1 sys/kern/kern_mutex.c
--- a/sys/kern/kern_mutex.c     Thu Jan 18 07:25:34 2018 +0000
+++ b/sys/kern/kern_mutex.c     Thu Jan 18 08:40:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_mutex.c,v 1.68 2017/12/25 09:13:40 ozaki-r Exp $  */
+/*     $NetBSD: kern_mutex.c,v 1.69 2018/01/18 08:40:56 skrll Exp $    */
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #define        __MUTEX_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.68 2017/12/25 09:13:40 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.69 2018/01/18 08:40:56 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -570,7 +570,7 @@
 
                /*
                 * Once we have the turnstile chain interlock, mark the
-                * mutex has having waiters.  If that fails, spin again:
+                * mutex as having waiters.  If that fails, spin again:
                 * chances are that the mutex has been released.
                 */
                if (!MUTEX_SET_WAITERS(mtx, owner)) {



Home | Main Index | Thread Index | Old Index