Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Improve English in comments



details:   https://anonhg.NetBSD.org/src/rev/6ad7687a5797
branches:  trunk
changeset: 979828:6ad7687a5797
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jan 13 07:36:56 2021 +0000

description:
Improve English in comments

diffstat:

 sys/kern/kern_lwp.c  |   6 +++---
 sys/kern/kgdb_stub.c |  12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 97bb5b79917b -r 6ad7687a5797 sys/kern/kern_lwp.c
--- a/sys/kern/kern_lwp.c       Wed Jan 13 07:34:37 2021 +0000
+++ b/sys/kern/kern_lwp.c       Wed Jan 13 07:36:56 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_lwp.c,v 1.242 2020/06/22 16:21:29 maxv Exp $      */
+/*     $NetBSD: kern_lwp.c,v 1.243 2021/01/13 07:36:56 skrll Exp $     */
 
 /*-
  * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2019, 2020
@@ -196,7 +196,7 @@
  *
  *             sleepq -> turnstile -> spc_lwplock -> spc_mutex
  *
- *     Each process has an scheduler state lock (proc::p_lock), and a
+ *     Each process has a scheduler state lock (proc::p_lock), and a
  *     number of counters on LWPs and their states: p_nzlwps, p_nrlwps, and
  *     so on.  When an LWP is to be entered into or removed from one of the
  *     following states, p_lock must be held and the process wide counters
@@ -217,7 +217,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.242 2020/06/22 16:21:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lwp.c,v 1.243 2021/01/13 07:36:56 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_lockdebug.h"
diff -r 97bb5b79917b -r 6ad7687a5797 sys/kern/kgdb_stub.c
--- a/sys/kern/kgdb_stub.c      Wed Jan 13 07:34:37 2021 +0000
+++ b/sys/kern/kgdb_stub.c      Wed Jan 13 07:36:56 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_stub.c,v 1.29 2015/06/26 14:26:38 christos Exp $  */
+/*     $NetBSD: kgdb_stub.c,v 1.30 2021/01/13 07:36:56 skrll Exp $     */
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.29 2015/06/26 14:26:38 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.30 2021/01/13 07:36:56 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -164,7 +164,7 @@
 
 /*
  * Convert the low 4 bits of an integer into
- * an hex digit.
+ * a hex digit.
  */
 static u_char
 i2digit(int n)
@@ -173,7 +173,7 @@
 }
 
 /*
- * Convert a byte array into an hex string.
+ * Convert a byte array into a hex string.
  */
 static void
 mem2hex(void *vdst, void *vsrc, int len)
@@ -189,7 +189,7 @@
 }
 
 /*
- * Convert an hex string into a byte array.
+ * Convert a hex string into a byte array.
  * This returns a pointer to the character following
  * the last valid hex digit. If the string ends in
  * the middle of a byte, NULL is returned.
@@ -213,7 +213,7 @@
 }
 
 /*
- * Convert an hex string into an integer.
+ * Convert a hex string into an integer.
  * This returns a pointer to the character following
  * the last valid hex digit.
  */



Home | Main Index | Thread Index | Old Index