Source-Changes-HG archive

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

[src/trunk]: src/sys correct typo: and and -> and (comments only)



details:   https://anonhg.NetBSD.org/src/rev/e630f2448ec9
branches:  trunk
changeset: 360792:e630f2448ec9
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Mar 30 22:54:36 2018 +0000

description:
correct typo: and and -> and (comments only)

heads up on this being a common typo from chris28.

diffstat:

 sys/dev/tc/stic.c         |  6 +++---
 sys/kern/sysv_msg.c       |  8 ++++----
 sys/netinet/ip_output.c   |  6 +++---
 sys/netinet/sctp_output.c |  6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (110 lines):

diff -r a9250e4a9113 -r e630f2448ec9 sys/dev/tc/stic.c
--- a/sys/dev/tc/stic.c Fri Mar 30 19:58:05 2018 +0000
+++ b/sys/dev/tc/stic.c Fri Mar 30 22:54:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stic.c,v 1.52 2018/01/24 05:35:58 riastradh Exp $      */
+/*     $NetBSD: stic.c,v 1.53 2018/03/30 22:54:36 maya Exp $   */
 
 /*-
  * Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.52 2018/01/24 05:35:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: stic.c,v 1.53 2018/03/30 22:54:36 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -421,7 +421,7 @@
 
        /*
         * Allocate backing for the console.  We could trawl back through
-        * msgbuf and and fill the backing, but it's not worth the hassle.
+        * msgbuf and fill the backing, but it's not worth the hassle.
         * We could also grab backing using pmap_steal_memory() early on,
         * but that's a little ugly.
         */
diff -r a9250e4a9113 -r e630f2448ec9 sys/kern/sysv_msg.c
--- a/sys/kern/sysv_msg.c       Fri Mar 30 19:58:05 2018 +0000
+++ b/sys/kern/sysv_msg.c       Fri Mar 30 22:54:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysv_msg.c,v 1.71 2016/09/05 14:13:50 christos Exp $   */
+/*     $NetBSD: sysv_msg.c,v 1.72 2018/03/30 22:54:37 maya Exp $       */
 
 /*-
  * Copyright (c) 1999, 2006, 2007 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.71 2016/09/05 14:13:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysv_msg.c,v 1.72 2018/03/30 22:54:37 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_sysv.h"
@@ -315,8 +315,8 @@
                memcpy(nmptr, mptr, sizeof(struct msqid_ds));
 
                /*
-                * Go through the message headers, and and copy each
-                * one by taking the new ones, and thus defragmenting.
+                * Go through the message headers, and copy each one
+                * by taking the new ones, and thus defragmenting.
                 */
                nmsghdr = pmsghdr = NULL;
                msghdr = mptr->_msg_first;
diff -r a9250e4a9113 -r e630f2448ec9 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Fri Mar 30 19:58:05 2018 +0000
+++ b/sys/netinet/ip_output.c   Fri Mar 30 22:54:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.298 2018/03/03 09:39:29 maxv Exp $     */
+/*     $NetBSD: ip_output.c,v 1.299 2018/03/30 22:54:37 maya Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.298 2018/03/03 09:39:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.299 2018/03/30 22:54:37 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -548,7 +548,7 @@
        }
 
        /*
-        * Look for broadcast address and and verify user is allowed to
+        * Look for broadcast address and verify user is allowed to
         * send such a packet.
         */
        if (isbroadcast) {
diff -r a9250e4a9113 -r e630f2448ec9 sys/netinet/sctp_output.c
--- a/sys/netinet/sctp_output.c Fri Mar 30 19:58:05 2018 +0000
+++ b/sys/netinet/sctp_output.c Fri Mar 30 22:54:36 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sctp_output.c,v 1.12 2017/12/10 11:52:14 rjs Exp $ */
+/*     $NetBSD: sctp_output.c,v 1.13 2018/03/30 22:54:37 maya Exp $ */
 /*     $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $    */
 
 /*
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.12 2017/12/10 11:52:14 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.13 2018/03/30 22:54:37 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ipsec.h"
@@ -7669,7 +7669,7 @@
        /*
         * Queue up a SACK in the control queue. We must first check to
         * see if a SACK is somehow on the control queue. If so, we will
-        * take and and remove the old one.
+        * take and remove the old one.
         */
        struct sctp_association *asoc;
        struct sctp_tmit_chunk *chk, *a_chk;



Home | Main Index | Thread Index | Old Index