Source-Changes-HG archive

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

[.joined/src/trunk]: .joined/src fix few typos in comments, mainly in word "p...



details:   https://anonhg.NetBSD.org/.joined/src/rev/e825d4eca4ea
branches:  trunk
changeset: 359363:e825d4eca4ea
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Dec 31 20:22:48 2021 +0000

description:
fix few typos in comments, mainly in word "parameter".

diffstat:

 lib/libresolv/dst_api.c         |  6 +++---
 sys/altq/altq_cbq.c             |  8 ++++----
 sys/dev/pci/qat/qatreg.h        |  4 ++--
 sys/dev/scsipi/scsi_changer.h   |  4 ++--
 tests/lib/libcurses/t_curses.sh |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diffs (104 lines):

diff -r 73a977c75f6d -r e825d4eca4ea lib/libresolv/dst_api.c
--- a/lib/libresolv/dst_api.c   Fri Dec 31 17:51:14 2021 +0000
+++ b/lib/libresolv/dst_api.c   Fri Dec 31 20:22:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dst_api.c,v 1.6 2021/11/01 21:28:02 andvar Exp $       */
+/*     $NetBSD: dst_api.c,v 1.7 2021/12/31 20:22:48 andvar Exp $       */
 
 /*
  * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -40,7 +40,7 @@
 #if 0
 static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp ";
 #else
-__RCSID("$NetBSD: dst_api.c,v 1.6 2021/11/01 21:28:02 andvar Exp $");
+__RCSID("$NetBSD: dst_api.c,v 1.7 2021/12/31 20:22:48 andvar Exp $");
 #endif
 
 
@@ -638,7 +638,7 @@
  *  dst_dnskey_to_public_key
  *     This function converts the contents of a DNS KEY RR into a DST
  *     key structure.
- *  Paramters
+ *  Parameters
  *     len      Length of the RDATA of the KEY RR RDATA
  *     rdata    A pointer to the KEY RR RDATA.
  *     in_name     Key name to be stored in key structure.
diff -r 73a977c75f6d -r e825d4eca4ea sys/altq/altq_cbq.c
--- a/sys/altq/altq_cbq.c       Fri Dec 31 17:51:14 2021 +0000
+++ b/sys/altq/altq_cbq.c       Fri Dec 31 20:22:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altq_cbq.c,v 1.38 2021/09/21 14:30:15 christos Exp $   */
+/*     $NetBSD: altq_cbq.c,v 1.39 2021/12/31 20:22:48 andvar Exp $     */
 /*     $KAME: altq_cbq.c,v 1.21 2005/04/13 03:44:24 suz Exp $  */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: altq_cbq.c,v 1.38 2021/09/21 14:30:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: altq_cbq.c,v 1.39 2021/12/31 20:22:48 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altq.h"
@@ -696,8 +696,8 @@
  *             struct rm_class *parent, struct rm_class *borrow)
  *
  * This function create a new traffic class in the CBQ class hierarchy of
- * given paramters.  The class that created is either the root, default,
- * or a new dynamic class.  If CBQ is not initilaized, the root class
+ * given parameters.  The class that created is either the root, default,
+ * or a new dynamic class.  If CBQ is not initialized, the root class
  * will be created.
  */
 static int
diff -r 73a977c75f6d -r e825d4eca4ea sys/dev/pci/qat/qatreg.h
--- a/sys/dev/pci/qat/qatreg.h  Fri Dec 31 17:51:14 2021 +0000
+++ b/sys/dev/pci/qat/qatreg.h  Fri Dec 31 20:22:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qatreg.h,v 1.1 2019/11/20 09:37:46 hikaru Exp $        */
+/*     $NetBSD: qatreg.h,v 1.2 2021/12/31 20:22:49 andvar Exp $        */
 
 /*
  * Copyright (c) 2019 Internet Initiative Japan, Inc.
@@ -89,7 +89,7 @@
 
 #define AE_ALL_CTX             0xff
 
-/* PCIe configuration space paramter */
+/* PCIe configuration space parameter */
 #define NO_PCI_REG                     (-1)
 #define NO_REG_OFFSET                  0
 
diff -r 73a977c75f6d -r e825d4eca4ea sys/dev/scsipi/scsi_changer.h
--- a/sys/dev/scsipi/scsi_changer.h     Fri Dec 31 17:51:14 2021 +0000
+++ b/sys/dev/scsipi/scsi_changer.h     Fri Dec 31 20:22:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_changer.h,v 1.21 2019/03/08 08:35:58 msaitoh Exp $        */
+/*     $NetBSD: scsi_changer.h,v 1.22 2021/12/31 20:22:49 andvar Exp $ */
 
 /*
  * Copyright (c) 1996, 1999 Jason R. Thorpe <thorpej%and.com@localhost>
@@ -288,7 +288,7 @@
                                /*      0x0e - 0x1b     reserved */
                                /*      0x1c - 0x1f     vendor-specific */
        u_int8_t        reserved1[2];
-       u_int8_t        length[2];      /* paremeter list length */
+       u_int8_t        length[2];      /* parameter list length */
        u_int8_t        reserved2;
        u_int8_t        control;
 };
diff -r 73a977c75f6d -r e825d4eca4ea tests/lib/libcurses/t_curses.sh
--- a/tests/lib/libcurses/t_curses.sh   Fri Dec 31 17:51:14 2021 +0000
+++ b/tests/lib/libcurses/t_curses.sh   Fri Dec 31 20:22:48 2021 +0000
@@ -9,7 +9,7 @@
                if [ -z "${locale}" ]; then
                        atf_fail "test ${file} failed because locale ${locale} not available"
                else
-                       # export the locale and shift the parametes by two and pass the rest
+                       # export the locale and shift the parameters by two and pass the rest
                        export LC_ALL=$locale
                        shift 2
                        r_run $file $@



Home | Main Index | Thread Index | Old Index