Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/compress fix few typos in comments, mainly s/paramen...



details:   https://anonhg.NetBSD.org/src/rev/369046327a7d
branches:  trunk
changeset: 364411:369046327a7d
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Mar 23 11:08:27 2022 +0000

description:
fix few typos in comments, mainly s/paramenters/parameters/.

diffstat:

 sys/dev/ic/mfireg.h      |  8 ++++----
 sys/netinet/tcp_input.c  |  6 +++---
 usr.bin/compress/zopen.c |  6 +++---
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (90 lines):

diff -r f7c5cc979ef8 -r 369046327a7d sys/dev/ic/mfireg.h
--- a/sys/dev/ic/mfireg.h       Tue Mar 22 23:37:09 2022 +0000
+++ b/sys/dev/ic/mfireg.h       Wed Mar 23 11:08:27 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfireg.h,v 1.13 2022/03/22 21:45:13 andvar Exp $ */
+/* $NetBSD: mfireg.h,v 1.14 2022/03/23 11:08:27 andvar Exp $ */
 /* $OpenBSD: mfireg.h,v 1.24 2006/06/19 19:05:45 marco Exp $ */
 /*
  * Copyright (c) 2006 Marco Peereboom <marco%peereboom.us@localhost>
@@ -173,7 +173,7 @@
 #define MEGASAS_MAX_SZ_CHAIN_FRAME             1024
 
 /*
- * Calculating how many SGEs allowed in a allocated main message
+ * Calculating how many SGEs allowed in an allocated main message
  * (size of the Message - Raid SCSI IO message size(except SGE))
  * / size of SGE
  * (0x100 - (0x90 - 0x10)) / 0x10 = 8
@@ -769,7 +769,7 @@
        uint8_t                 loadBalanceMode;
        /*
         * 0 - use auto detect logic of backplanes like SGPIO, i2c SEP using
-        *     h/w mechansim like GPIO pins
+        *     h/w mechanism like GPIO pins
         * 1 - disable auto detect SGPIO,
         * 2 - disable i2c SEP auto detect
         * 3 - disable both auto detect
@@ -1302,7 +1302,7 @@
 /* ThunderBolt support */
 
 /*
- * Raid Context structure which describes MegaRAID specific IO Paramenters
+ * Raid Context structure which describes MegaRAID specific IO Parameters
  * This resides at offset 0x60 where the SGL normally starts in MPT IO Frames
  */
 typedef struct _mpi2_scsi_io_vendor_unique {
diff -r f7c5cc979ef8 -r 369046327a7d sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c   Tue Mar 22 23:37:09 2022 +0000
+++ b/sys/netinet/tcp_input.c   Wed Mar 23 11:08:27 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $   */
+/*     $NetBSD: tcp_input.c,v 1.432 2022/03/23 11:08:28 andvar Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.431 2021/08/09 19:57:58 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.432 2022/03/23 11:08:28 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2549,7 +2549,7 @@
                                     TCP_FACK_FASTRECOV(tp))) {
                                        /*
                                         * Do the fast retransmit, and adjust
-                                        * congestion control paramenters.
+                                        * congestion control parameters.
                                         */
                                        if (tp->t_congctl->fast_retransmit(tp, th)) {
                                                /* False fast retransmit */
diff -r f7c5cc979ef8 -r 369046327a7d usr.bin/compress/zopen.c
--- a/usr.bin/compress/zopen.c  Tue Mar 22 23:37:09 2022 +0000
+++ b/usr.bin/compress/zopen.c  Wed Mar 23 11:08:27 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zopen.c,v 1.15 2011/08/16 13:55:01 joerg Exp $ */
+/*     $NetBSD: zopen.c,v 1.16 2022/03/23 11:08:28 andvar Exp $        */
 
 /*-
  * Copyright (c) 1985, 1986, 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)zopen.c    8.1 (Berkeley) 6/27/93";
 #else
-static char rcsid[] = "$NetBSD: zopen.c,v 1.15 2011/08/16 13:55:01 joerg Exp $";
+static char rcsid[] = "$NetBSD: zopen.c,v 1.16 2022/03/23 11:08:28 andvar Exp $";
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -128,7 +128,7 @@
                        code_int zs_ent;
                        code_int zs_hsize_reg;
                        int zs_hshift;
-               } w;                    /* Write paramenters */
+               } w;                    /* Write parameters */
                struct {
                        char_type *zs_stackp;
                        int zs_finchar;



Home | Main Index | Thread Index | Old Index