Module Name: src Committed By: andvar Date: Fri Dec 31 20:22:49 UTC 2021
Modified Files: src/lib/libresolv: dst_api.c src/sys/altq: altq_cbq.c src/sys/dev/pci/qat: qatreg.h src/sys/dev/scsipi: scsi_changer.h src/tests/lib/libcurses: t_curses.sh Log Message: fix few typos in comments, mainly in word "parameter". To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libresolv/dst_api.c cvs rdiff -u -r1.38 -r1.39 src/sys/altq/altq_cbq.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/qat/qatreg.h cvs rdiff -u -r1.21 -r1.22 src/sys/dev/scsipi/scsi_changer.h cvs rdiff -u -r1.24 -r1.25 src/tests/lib/libcurses/t_curses.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libresolv/dst_api.c diff -u src/lib/libresolv/dst_api.c:1.6 src/lib/libresolv/dst_api.c:1.7 --- src/lib/libresolv/dst_api.c:1.6 Mon Nov 1 21:28:02 2021 +++ src/lib/libresolv/dst_api.c Fri Dec 31 20:22:48 2021 @@ -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_s_write_public_key(const DST_KEY *ke * 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. Index: src/sys/altq/altq_cbq.c diff -u src/sys/altq/altq_cbq.c:1.38 src/sys/altq/altq_cbq.c:1.39 --- src/sys/altq/altq_cbq.c:1.38 Tue Sep 21 14:30:15 2021 +++ src/sys/altq/altq_cbq.c Fri Dec 31 20:22:48 2021 @@ -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 @@ cbq_modify_class(struct cbq_modify_class * 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 Index: src/sys/dev/pci/qat/qatreg.h diff -u src/sys/dev/pci/qat/qatreg.h:1.1 src/sys/dev/pci/qat/qatreg.h:1.2 --- src/sys/dev/pci/qat/qatreg.h:1.1 Wed Nov 20 09:37:46 2019 +++ src/sys/dev/pci/qat/qatreg.h Fri Dec 31 20:22:49 2021 @@ -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 Index: src/sys/dev/scsipi/scsi_changer.h diff -u src/sys/dev/scsipi/scsi_changer.h:1.21 src/sys/dev/scsipi/scsi_changer.h:1.22 --- src/sys/dev/scsipi/scsi_changer.h:1.21 Fri Mar 8 08:35:58 2019 +++ src/sys/dev/scsipi/scsi_changer.h Fri Dec 31 20:22:49 2021 @@ -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 <thor...@and.com> @@ -288,7 +288,7 @@ struct scsi_send_volume_tag { /* 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; }; Index: src/tests/lib/libcurses/t_curses.sh diff -u src/tests/lib/libcurses/t_curses.sh:1.24 src/tests/lib/libcurses/t_curses.sh:1.25 --- src/tests/lib/libcurses/t_curses.sh:1.24 Sat Aug 21 11:55:26 2021 +++ src/tests/lib/libcurses/t_curses.sh Fri Dec 31 20:22:49 2021 @@ -9,7 +9,7 @@ h_run() 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 $@