Module Name: src Committed By: msaitoh Date: Thu Dec 26 04:53:12 UTC 2019
Modified Files: src/lib/librumpuser: rumpuser_dl.c src/sys/altq: altq_blue.c altq_red.c altq_rio.c src/sys/arch/arm/imx: imxecspireg.h src/sys/arch/ia64/include: bootinfo.h src/sys/arch/sgimips/mace: if_mec.c src/sys/dev/flash: flash.c src/sys/dev/marvell: ehci_mv.c src/sys/dev/nand: onfi.h src/usr.sbin/mmcformat: mmcformat.c src/usr.sbin/sysinst: partitions.h src/usr.sbin/syslogd: syslogd.c Log Message: s/lenght/length/ To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/librumpuser/rumpuser_dl.c cvs rdiff -u -r1.24 -r1.25 src/sys/altq/altq_blue.c cvs rdiff -u -r1.31 -r1.32 src/sys/altq/altq_red.c cvs rdiff -u -r1.23 -r1.24 src/sys/altq/altq_rio.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/imx/imxecspireg.h cvs rdiff -u -r1.1 -r1.2 src/sys/arch/ia64/include/bootinfo.h cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sgimips/mace/if_mec.c cvs rdiff -u -r1.14 -r1.15 src/sys/dev/flash/flash.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/marvell/ehci_mv.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/nand/onfi.h cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/mmcformat/mmcformat.c cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/partitions.h cvs rdiff -u -r1.131 -r1.132 src/usr.sbin/syslogd/syslogd.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/librumpuser/rumpuser_dl.c diff -u src/lib/librumpuser/rumpuser_dl.c:1.30 src/lib/librumpuser/rumpuser_dl.c:1.31 --- src/lib/librumpuser/rumpuser_dl.c:1.30 Tue Nov 4 19:05:17 2014 +++ src/lib/librumpuser/rumpuser_dl.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_dl.c,v 1.30 2014/11/04 19:05:17 pooka Exp $ */ +/* $NetBSD: rumpuser_dl.c,v 1.31 2019/12/26 04:53:11 msaitoh Exp $ */ /* * Copyright (c) 2009 Antti Kantee. All Rights Reserved. @@ -40,7 +40,7 @@ #include "rumpuser_port.h" #if !defined(lint) -__RCSID("$NetBSD: rumpuser_dl.c,v 1.30 2014/11/04 19:05:17 pooka Exp $"); +__RCSID("$NetBSD: rumpuser_dl.c,v 1.31 2019/12/26 04:53:11 msaitoh Exp $"); #endif /* !lint */ #include <sys/types.h> @@ -225,7 +225,7 @@ getsymbols(struct link_map *map, int ism * DT_GNU_HASH is a bit more complicated than DT_HASH * in this regard since apparently there is no field * telling us the total symbol count. Instead, we look - * for the last valid hash bucket and add its chain lenght + * for the last valid hash bucket and add its chain length * to the bucket's base index. */ case DT_GNU_HASH: { Index: src/sys/altq/altq_blue.c diff -u src/sys/altq/altq_blue.c:1.24 src/sys/altq/altq_blue.c:1.25 --- src/sys/altq/altq_blue.c:1.24 Wed Apr 20 08:58:48 2016 +++ src/sys/altq/altq_blue.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: altq_blue.c,v 1.24 2016/04/20 08:58:48 knakahara Exp $ */ +/* $NetBSD: altq_blue.c,v 1.25 2019/12/26 04:53:11 msaitoh Exp $ */ /* $KAME: altq_blue.c,v 1.15 2005/04/13 03:44:24 suz Exp $ */ /* @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: altq_blue.c,v 1.24 2016/04/20 08:58:48 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_blue.c,v 1.25 2019/12/26 04:53:11 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_altq.h" @@ -105,7 +105,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_blue.c, /* fixed-point uses 12-bit decimal places */ #define FP_SHIFT 12 /* fixed-point shift */ -#define BLUE_LIMIT 200 /* default max queue lenght */ +#define BLUE_LIMIT 200 /* default max queue length */ #define BLUE_STATS /* collect statistics */ /* blue_list keeps all blue_state_t's allocated. */ Index: src/sys/altq/altq_red.c diff -u src/sys/altq/altq_red.c:1.31 src/sys/altq/altq_red.c:1.32 --- src/sys/altq/altq_red.c:1.31 Thu Nov 15 10:23:55 2018 +++ src/sys/altq/altq_red.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: altq_red.c,v 1.31 2018/11/15 10:23:55 maxv Exp $ */ +/* $NetBSD: altq_red.c,v 1.32 2019/12/26 04:53:11 msaitoh Exp $ */ /* $KAME: altq_red.c,v 1.20 2005/04/13 03:44:25 suz Exp $ */ /* @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.31 2018/11/15 10:23:55 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_red.c,v 1.32 2019/12/26 04:53:11 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_altq.h" @@ -165,7 +165,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_red.c,v #define TH_MIN 5 /* min threshold */ #define TH_MAX 15 /* max threshold */ -#define RED_LIMIT 60 /* default max queue lenght */ +#define RED_LIMIT 60 /* default max queue length */ #define RED_STATS /* collect statistics */ /* Index: src/sys/altq/altq_rio.c diff -u src/sys/altq/altq_rio.c:1.23 src/sys/altq/altq_rio.c:1.24 --- src/sys/altq/altq_rio.c:1.23 Mon May 16 09:53:59 2016 +++ src/sys/altq/altq_rio.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: altq_rio.c,v 1.23 2016/05/16 09:53:59 ozaki-r Exp $ */ +/* $NetBSD: altq_rio.c,v 1.24 2019/12/26 04:53:11 msaitoh Exp $ */ /* $KAME: altq_rio.c,v 1.19 2005/04/13 03:44:25 suz Exp $ */ /* @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v 1.23 2016/05/16 09:53:59 ozaki-r Exp $"); +__KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v 1.24 2019/12/26 04:53:11 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_altq.h" @@ -153,7 +153,7 @@ __KERNEL_RCSID(0, "$NetBSD: altq_rio.c,v #define TH_MIN 5 /* min threshold */ #define TH_MAX 15 /* max threshold */ -#define RIO_LIMIT 60 /* default max queue lenght */ +#define RIO_LIMIT 60 /* default max queue length */ #define RIO_STATS /* collect statistics */ #define TV_DELTA(a, b, delta) { \ Index: src/sys/arch/arm/imx/imxecspireg.h diff -u src/sys/arch/arm/imx/imxecspireg.h:1.2 src/sys/arch/arm/imx/imxecspireg.h:1.3 --- src/sys/arch/arm/imx/imxecspireg.h:1.2 Fri Sep 27 02:59:21 2019 +++ src/sys/arch/arm/imx/imxecspireg.h Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: imxecspireg.h,v 1.2 2019/09/27 02:59:21 hkenken Exp $ */ +/* $NetBSD: imxecspireg.h,v 1.3 2019/12/26 04:53:11 msaitoh Exp $ */ /* * Copyright (c) 2012 Genetec Corporation. All rights reserved. @@ -43,7 +43,7 @@ #define ECSPI_CON_HW __BIT(1) /* HW */ #define ECSPI_CON_ENABLE __BIT(0) /* EN */ #define ECSPI_CONFIGREG 0x0c -#define ECSPI_CONFIG_HT_LEN __BITS(28,24) /* HT LENGHT */ +#define ECSPI_CONFIG_HT_LEN __BITS(28,24) /* HT LENGTH */ #define ECSPI_CONFIG_SCLK_CTL __BITS(23,20) /* SCLK CTL */ #define ECSPI_CONFIG_DATA_CTL __BITS(19,16) /* DATA CTL */ #define ECSPI_CONFIG_SSB_POL __BITS(15,12) /* SSB POL */ Index: src/sys/arch/ia64/include/bootinfo.h diff -u src/sys/arch/ia64/include/bootinfo.h:1.1 src/sys/arch/ia64/include/bootinfo.h:1.2 --- src/sys/arch/ia64/include/bootinfo.h:1.1 Fri Apr 7 14:21:18 2006 +++ src/sys/arch/ia64/include/bootinfo.h Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: bootinfo.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */ +/* $NetBSD: bootinfo.h,v 1.2 2019/12/26 04:53:11 msaitoh Exp $ */ /*- * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -42,7 +42,7 @@ struct bootinfo { uint32_t bi_memdesc_version; /* EFI memory desc version */ uint32_t bi_spare2; uint64_t bi_unwindtab; /* start of ia64 unwind table */ - uint64_t bi_unwindtablen; /* lenght of the table, in bytes */ + uint64_t bi_unwindtablen; /* length of the table, in bytes */ uint64_t bi_symtab; /* start of kernel sym table */ uint64_t bi_esymtab; /* end of kernel sym table */ uint64_t bi_kernend; /* end of kernel space */ Index: src/sys/arch/sgimips/mace/if_mec.c diff -u src/sys/arch/sgimips/mace/if_mec.c:1.61 src/sys/arch/sgimips/mace/if_mec.c:1.62 --- src/sys/arch/sgimips/mace/if_mec.c:1.61 Thu May 30 02:32:17 2019 +++ src/sys/arch/sgimips/mace/if_mec.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_mec.c,v 1.61 2019/05/30 02:32:17 msaitoh Exp $ */ +/* $NetBSD: if_mec.c,v 1.62 2019/12/26 04:53:11 msaitoh Exp $ */ /*- * Copyright (c) 2004, 2008 Izumi Tsutsui. All rights reserved. @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_mec.c,v 1.61 2019/05/30 02:32:17 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_mec.c,v 1.62 2019/12/26 04:53:11 msaitoh Exp $"); #include "opt_ddb.h" @@ -1174,7 +1174,7 @@ mec_start(struct ifnet *ifp) nptr = 1; /* - * Set lenght of unaligned part which will be + * Set length of unaligned part which will be * copied into txdesc buffer. */ buflen = MEC_TXD_ALIGN - MEC_ETHER_ALIGN; Index: src/sys/dev/flash/flash.c diff -u src/sys/dev/flash/flash.c:1.14 src/sys/dev/flash/flash.c:1.15 --- src/sys/dev/flash/flash.c:1.14 Mon Nov 13 17:35:58 2017 +++ src/sys/dev/flash/flash.c Thu Dec 26 04:53:11 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: flash.c,v 1.14 2017/11/13 17:35:58 jmcneill Exp $ */ +/* $NetBSD: flash.c,v 1.15 2019/12/26 04:53:11 msaitoh Exp $ */ /*- * Copyright (c) 2011 Department of Software Engineering, @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: flash.c,v 1.14 2017/11/13 17:35:58 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: flash.c,v 1.15 2019/12/26 04:53:11 msaitoh Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -349,7 +349,7 @@ flashstrategy(struct buf * const bp) goto done; } - /* zero lenght i/o */ + /* zero length i/o */ if (bp->b_bcount == 0) { goto done; } Index: src/sys/dev/marvell/ehci_mv.c diff -u src/sys/dev/marvell/ehci_mv.c:1.7 src/sys/dev/marvell/ehci_mv.c:1.8 --- src/sys/dev/marvell/ehci_mv.c:1.7 Mon Apr 9 16:21:10 2018 +++ src/sys/dev/marvell/ehci_mv.c Thu Dec 26 04:53:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: ehci_mv.c,v 1.7 2018/04/09 16:21:10 jakllsch Exp $ */ +/* $NetBSD: ehci_mv.c,v 1.8 2019/12/26 04:53:12 msaitoh Exp $ */ /* * Copyright (c) 2008 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ehci_mv.c,v 1.7 2018/04/09 16:21:10 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci_mv.c,v 1.8 2019/12/26 04:53:12 msaitoh Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -324,7 +324,7 @@ mvusb_init(struct mvusb_softc *sc, enum reg &= ~(1 << 21); /* bits[27:26]=0 (EDGE_DET_SEL=0) */ reg &= ~(3 << 26); - /* bits[31:30]=3 (RXDATA_BLOCK_LENGHT=3) */ + /* bits[31:30]=3 (RXDATA_BLOCK_LENGTH=3) */ reg |= (3 << 30); /* bits[7:4]=1 (SQ_THRESH=1) */ reg &= ~(0xf << 4); Index: src/sys/dev/nand/onfi.h diff -u src/sys/dev/nand/onfi.h:1.1 src/sys/dev/nand/onfi.h:1.2 --- src/sys/dev/nand/onfi.h:1.1 Sat Feb 26 18:07:31 2011 +++ src/sys/dev/nand/onfi.h Thu Dec 26 04:53:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: onfi.h,v 1.1 2011/02/26 18:07:31 ahoka Exp $ */ +/* $NetBSD: onfi.h,v 1.2 2019/12/26 04:53:12 msaitoh Exp $ */ /*- * Copyright (c) 2010 Department of Software Engineering, @@ -117,7 +117,7 @@ struct onfi_parameter_page { uint16_t param_features; /* M: features supported */ uint16_t param_optional_cmds; /* M: optional commands */ uint16_t param_reserved_1; /* R: reserved */ - uint16_t param_extended_len; /* O: extended parameter page lenght */ + uint16_t param_extended_len; /* O: extended parameter page length */ uint8_t param_num_param_pg; /* O: number of parameter pages */ uint8_t param_reserved_2[17]; /* R: reserved */ /* Manufacturer information block */ Index: src/usr.sbin/mmcformat/mmcformat.c diff -u src/usr.sbin/mmcformat/mmcformat.c:1.5 src/usr.sbin/mmcformat/mmcformat.c:1.6 --- src/usr.sbin/mmcformat/mmcformat.c:1.5 Mon Feb 4 09:53:41 2019 +++ src/usr.sbin/mmcformat/mmcformat.c Thu Dec 26 04:53:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: mmcformat.c,v 1.5 2019/02/04 09:53:41 mrg Exp $ */ +/* $NetBSD: mmcformat.c,v 1.6 2019/12/26 04:53:12 msaitoh Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -343,7 +343,7 @@ print_format(int format_tp, uint32_t num break; case 0x05 : format_str = "fixed length zone'd format"; - nblks_str = "zone lenght"; + nblks_str = "zone length"; param_str = "last zone number"; *supported = 0; break; Index: src/usr.sbin/sysinst/partitions.h diff -u src/usr.sbin/sysinst/partitions.h:1.11 src/usr.sbin/sysinst/partitions.h:1.12 --- src/usr.sbin/sysinst/partitions.h:1.11 Sun Dec 15 12:01:05 2019 +++ src/usr.sbin/sysinst/partitions.h Thu Dec 26 04:53:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: partitions.h,v 1.11 2019/12/15 12:01:05 martin Exp $ */ +/* $NetBSD: partitions.h,v 1.12 2019/12/26 04:53:12 msaitoh Exp $ */ /* * Copyright 2018 The NetBSD Foundation, Inc. @@ -53,7 +53,7 @@ #endif #define MAX_LABEL_LEN 128 /* max. length of a partition label */ -#define MAX_SHORTCUT_LEN 8 /* max. lenght of a shortcut ("a:") */ +#define MAX_SHORTCUT_LEN 8 /* max. length of a shortcut ("a:") */ /* * A partition index / handle, identifies a singlepartition within Index: src/usr.sbin/syslogd/syslogd.c diff -u src/usr.sbin/syslogd/syslogd.c:1.131 src/usr.sbin/syslogd/syslogd.c:1.132 --- src/usr.sbin/syslogd/syslogd.c:1.131 Sun Feb 3 03:19:31 2019 +++ src/usr.sbin/syslogd/syslogd.c Thu Dec 26 04:53:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: syslogd.c,v 1.131 2019/02/03 03:19:31 mrg Exp $ */ +/* $NetBSD: syslogd.c,v 1.132 2019/12/26 04:53:12 msaitoh Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19 #if 0 static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94"; #else -__RCSID("$NetBSD: syslogd.c,v 1.131 2019/02/03 03:19:31 mrg Exp $"); +__RCSID("$NetBSD: syslogd.c,v 1.132 2019/12/26 04:53:12 msaitoh Exp $"); #endif #endif /* not lint */ @@ -2001,7 +2001,7 @@ logmsg(struct buf_msg *buffer) * format one buffer into output format given by flag BSDOutputFormat * line is allocated and has to be free()d by caller * size_t pointers are optional, if not NULL then they will return - * different lenghts used for formatting and output + * different lengths used for formatting and output */ #define OUT(x) ((x)?(x):"-") bool