Module Name: src Committed By: andvar Date: Fri Apr 8 10:27:04 UTC 2022
Modified Files: src/lib/libcurses: getyx.c src/sys/dev/hpc: hpcfbio.h src/sys/dev/pci/qat: qatreg.h src/sys/dev/raidframe: rf_reconmap.c src/sys/netinet: sctp_indata.c sctp_input.c sctputil.c src/sys/ufs/chfs: chfs_readinode.c Log Message: s/postion/position/ To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libcurses/getyx.c cvs rdiff -u -r1.3 -r1.4 src/sys/dev/hpc/hpcfbio.h cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/qat/qatreg.h cvs rdiff -u -r1.38 -r1.39 src/sys/dev/raidframe/rf_reconmap.c cvs rdiff -u -r1.9 -r1.10 src/sys/netinet/sctp_indata.c cvs rdiff -u -r1.15 -r1.16 src/sys/netinet/sctp_input.c cvs rdiff -u -r1.18 -r1.19 src/sys/netinet/sctputil.c cvs rdiff -u -r1.12 -r1.13 src/sys/ufs/chfs/chfs_readinode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libcurses/getyx.c diff -u src/lib/libcurses/getyx.c:1.6 src/lib/libcurses/getyx.c:1.7 --- src/lib/libcurses/getyx.c:1.6 Fri Jan 6 13:53:18 2017 +++ src/lib/libcurses/getyx.c Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: getyx.c,v 1.6 2017/01/06 13:53:18 roy Exp $ */ +/* $NetBSD: getyx.c,v 1.7 2022/04/08 10:27:04 andvar Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: getyx.c,v 1.6 2017/01/06 13:53:18 roy Exp $"); +__RCSID("$NetBSD: getyx.c,v 1.7 2022/04/08 10:27:04 andvar Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -41,7 +41,7 @@ __RCSID("$NetBSD: getyx.c,v 1.6 2017/01/ /* * getpary -- - * Get the y postion of the window relative to the parent window + * Get the y position of the window relative to the parent window * return -1 if not a subwindow. */ int @@ -59,7 +59,7 @@ getpary(WINDOW *win) /* * getparx -- - * Get the x postion of the window relative to the parent window + * Get the x position of the window relative to the parent window * return -1 if not a subwindow. */ int Index: src/sys/dev/hpc/hpcfbio.h diff -u src/sys/dev/hpc/hpcfbio.h:1.3 src/sys/dev/hpc/hpcfbio.h:1.4 --- src/sys/dev/hpc/hpcfbio.h:1.3 Sat Jul 31 20:51:32 2021 +++ src/sys/dev/hpc/hpcfbio.h Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: hpcfbio.h,v 1.3 2021/07/31 20:51:32 andvar Exp $ */ +/* $NetBSD: hpcfbio.h,v 1.4 2022/04/08 10:27:04 andvar Exp $ */ /*- * Copyright (c) 1999 @@ -207,7 +207,7 @@ struct hpcfb_dsp_op { }; /* - * view port postion + * view port position * arg0 is x_offset * arg1 is y_offset */ Index: src/sys/dev/pci/qat/qatreg.h diff -u src/sys/dev/pci/qat/qatreg.h:1.2 src/sys/dev/pci/qat/qatreg.h:1.3 --- src/sys/dev/pci/qat/qatreg.h:1.2 Fri Dec 31 20:22:49 2021 +++ src/sys/dev/pci/qat/qatreg.h Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: qatreg.h,v 1.2 2021/12/31 20:22:49 andvar Exp $ */ +/* $NetBSD: qatreg.h,v 1.3 2022/04/08 10:27:04 andvar Exp $ */ /* * Copyright (c) 2019 Internet Initiative Japan, Inc. @@ -919,7 +919,7 @@ struct mof_uof_chunk_hdr { #define UOF_MAX_NUM_OF_AE 16 /* maximum number of AE */ #define UOF_OBJ_ID_LEN 8 /* length of object ID */ -#define UOF_FIELD_POS_SIZE 12 /* field postion size */ +#define UOF_FIELD_POS_SIZE 12 /* field position size */ #define MIN_UOF_SIZE 24 /* minimum .uof file size */ #define UOF_FID 0xc6c2 /* uof magic number */ #define UOF_MIN_VER 0x11 Index: src/sys/dev/raidframe/rf_reconmap.c diff -u src/sys/dev/raidframe/rf_reconmap.c:1.38 src/sys/dev/raidframe/rf_reconmap.c:1.39 --- src/sys/dev/raidframe/rf_reconmap.c:1.38 Mon Apr 13 00:27:17 2020 +++ src/sys/dev/raidframe/rf_reconmap.c Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: rf_reconmap.c,v 1.38 2020/04/13 00:27:17 chs Exp $ */ +/* $NetBSD: rf_reconmap.c,v 1.39 2022/04/08 10:27:04 andvar Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -34,7 +34,7 @@ *************************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.38 2020/04/13 00:27:17 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_reconmap.c,v 1.39 2022/04/08 10:27:04 andvar Exp $"); #include "rf_raid.h" #include <sys/time.h> @@ -178,7 +178,7 @@ rf_ReconMapUpdate(RF_Raid_t *raidPtr, RF mapPtr->low_ru++; mapPtr->high_ru++; /* initialize "highest" RU status entry, which - will take over the current head postion */ + will take over the current head position */ mapPtr->status[mapPtr->head]=RU_NOTHING; /* move head too */ Index: src/sys/netinet/sctp_indata.c diff -u src/sys/netinet/sctp_indata.c:1.9 src/sys/netinet/sctp_indata.c:1.10 --- src/sys/netinet/sctp_indata.c:1.9 Thu Apr 7 19:33:38 2022 +++ src/sys/netinet/sctp_indata.c Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $ */ +/* $NetBSD: sctp_indata.c,v 1.10 2022/04/08 10:27:04 andvar Exp $ */ /* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.9 2022/04/07 19:33:38 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.10 2022/04/08 10:27:04 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -2289,7 +2289,7 @@ sctp_sack_check(struct sctp_tcb *stcb, i #endif } else if (at >= 8) { /* we can slide the mapping array down */ - /* Calculate the new byte postion we can move down */ + /* Calculate the new byte position we can move down */ slide_from = at >> 3; /* now calculate the ceiling of the move using our highest TSN value */ if (asoc->highest_tsn_inside_map >= asoc->mapping_array_base_tsn) { Index: src/sys/netinet/sctp_input.c diff -u src/sys/netinet/sctp_input.c:1.15 src/sys/netinet/sctp_input.c:1.16 --- src/sys/netinet/sctp_input.c:1.15 Sun Sep 19 10:34:10 2021 +++ src/sys/netinet/sctp_input.c Fri Apr 8 10:27:04 2022 @@ -1,5 +1,5 @@ /* $KAME: sctp_input.c,v 1.28 2005/04/21 18:36:21 nishida Exp $ */ -/* $NetBSD: sctp_input.c,v 1.15 2021/09/19 10:34:10 andvar Exp $ */ +/* $NetBSD: sctp_input.c,v 1.16 2022/04/08 10:27:04 andvar Exp $ */ /* * Copyright (C) 2002, 2003, 2004 Cisco Systems Inc, @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.15 2021/09/19 10:34:10 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.16 2022/04/08 10:27:04 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_ipsec.h" @@ -1476,7 +1476,7 @@ sctp_process_cookie_new(struct mbuf *m, u_int8_t *pp; pp = (u_int8_t *)initack_cp; printf("process_cookie_new: could not find INIT-ACK chunk!\n"); - printf("Found bytes %x %x %x %x at postion %d\n", + printf("Found bytes %x %x %x %x at position %d\n", (u_int)pp[0], (u_int)pp[1], (u_int)pp[2], (u_int)pp[3], initack_offset); } Index: src/sys/netinet/sctputil.c diff -u src/sys/netinet/sctputil.c:1.18 src/sys/netinet/sctputil.c:1.19 --- src/sys/netinet/sctputil.c:1.18 Sun Dec 5 03:08:19 2021 +++ src/sys/netinet/sctputil.c Fri Apr 8 10:27:04 2022 @@ -1,5 +1,5 @@ /* $KAME: sctputil.c,v 1.39 2005/06/16 20:54:06 jinmei Exp $ */ -/* $NetBSD: sctputil.c,v 1.18 2021/12/05 03:08:19 msaitoh Exp $ */ +/* $NetBSD: sctputil.c,v 1.19 2022/04/08 10:27:04 andvar Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctputil.c,v 1.18 2021/12/05 03:08:19 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctputil.c,v 1.19 2022/04/08 10:27:04 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -3301,7 +3301,7 @@ sctp_grub_through_socket_buffer(struct s next = old_sb->sb_mb; while (next) { this = next; - /* postion for next one */ + /* position for next one */ next = this->m_nextpkt; /* check the tag of this packet */ if (sctp_should_be_moved(this, asoc)) { @@ -3328,7 +3328,7 @@ sctp_grub_through_socket_buffer(struct s } if (moved_top) { /* - * Ok so now we must re-postion vtag_first to + * Ok so now we must re-position vtag_first to * match the new first one since we moved the * mbuf at the top. */ Index: src/sys/ufs/chfs/chfs_readinode.c diff -u src/sys/ufs/chfs/chfs_readinode.c:1.12 src/sys/ufs/chfs/chfs_readinode.c:1.13 --- src/sys/ufs/chfs/chfs_readinode.c:1.12 Fri Dec 10 20:36:04 2021 +++ src/sys/ufs/chfs/chfs_readinode.c Fri Apr 8 10:27:04 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: chfs_readinode.c,v 1.12 2021/12/10 20:36:04 andvar Exp $ */ +/* $NetBSD: chfs_readinode.c,v 1.13 2022/04/08 10:27:04 andvar Exp $ */ /*- * Copyright (c) 2010 Department of Software Engineering, @@ -693,7 +693,7 @@ chfs_truncate_fragtree(struct chfs_mount return frag->ofs + frag->size; } - /* FIXME Should we check the postion of the last node? (PAGE_CACHE size, etc.) */ + /* FIXME Should we check the position of the last node? (PAGE_CACHE size, etc.) */ if (frag->node && (frag->ofs & (PAGE_SIZE - 1)) == 0) { frag->node->nref->nref_offset = CHFS_GET_OFS(frag->node->nref->nref_offset) | CHFS_PRISTINE_NODE_MASK;