Module Name: src Committed By: andvar Date: Sun Sep 19 11:37:01 UTC 2021
Modified Files: src/sys/arch/evbppc/dht: machdep.c src/sys/dev/pci: if_iwn.c src/usr.bin/sort: init.c src/usr.sbin/ndp: ndp.8 Log Message: fix few more typos in comments, messages and documentation. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbppc/dht/machdep.c cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/if_iwn.c cvs rdiff -u -r1.29 -r1.30 src/usr.bin/sort/init.c cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/ndp/ndp.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbppc/dht/machdep.c diff -u src/sys/arch/evbppc/dht/machdep.c:1.2 src/sys/arch/evbppc/dht/machdep.c:1.3 --- src/sys/arch/evbppc/dht/machdep.c:1.2 Tue Aug 3 09:25:43 2021 +++ src/sys/arch/evbppc/dht/machdep.c Sun Sep 19 11:37:00 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.2 2021/08/03 09:25:43 rin Exp $ */ +/* $NetBSD: machdep.c,v 1.3 2021/09/19 11:37:00 andvar Exp $ */ /* * Taken from src/sys/arch/evbppc/walnut/machdep.c: @@ -72,7 +72,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 2021/08/03 09:25:43 rin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2021/09/19 11:37:00 andvar Exp $"); #include "opt_ddb.h" #include "opt_pci.h" @@ -301,7 +301,7 @@ ibm4xx_pci_conf_interrupt(void *v, int b if (bus != 0) { /* * XXX - * See coment above. + * See comment above. */ dev = PARENT_DEV(swiz, dev); goto out; Index: src/sys/dev/pci/if_iwn.c diff -u src/sys/dev/pci/if_iwn.c:1.96 src/sys/dev/pci/if_iwn.c:1.97 --- src/sys/dev/pci/if_iwn.c:1.96 Wed Jun 16 00:21:18 2021 +++ src/sys/dev/pci/if_iwn.c Sun Sep 19 11:37:01 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwn.c,v 1.96 2021/06/16 00:21:18 riastradh Exp $ */ +/* $NetBSD: if_iwn.c,v 1.97 2021/09/19 11:37:01 andvar Exp $ */ /* $OpenBSD: if_iwn.c,v 1.135 2014/09/10 07:22:09 dcoppa Exp $ */ /*- @@ -22,7 +22,7 @@ * adapters. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.96 2021/06/16 00:21:18 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.97 2021/09/19 11:37:01 andvar Exp $"); #define IWN_USE_RBUF /* Use local storage for RX */ #undef IWN_HWCRYPTO /* XXX does not even compile yet */ @@ -4477,14 +4477,14 @@ iwn_config_bt_coex_adv_config(struct iwn btprot.type = 1; error = iwn_cmd(sc, IWN_CMD_BT_COEX_PROT, &btprot, sizeof btprot, 1); if (error != 0) { - aprint_error_dev(sc->sc_dev, "could not open BT protcol\n"); + aprint_error_dev(sc->sc_dev, "could not open BT protocol\n"); return error; } btprot.open = 0; error = iwn_cmd(sc, IWN_CMD_BT_COEX_PROT, &btprot, sizeof btprot, 1); if (error != 0) { - aprint_error_dev(sc->sc_dev, "could not close BT protcol\n"); + aprint_error_dev(sc->sc_dev, "could not close BT protocol\n"); return error; } return 0; Index: src/usr.bin/sort/init.c diff -u src/usr.bin/sort/init.c:1.29 src/usr.bin/sort/init.c:1.30 --- src/usr.bin/sort/init.c:1.29 Fri Oct 18 20:47:06 2013 +++ src/usr.bin/sort/init.c Sun Sep 19 11:37:01 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.29 2013/10/18 20:47:06 christos Exp $ */ +/* $NetBSD: init.c,v 1.30 2021/09/19 11:37:01 andvar Exp $ */ /*- * Copyright (c) 2000-2003 The NetBSD Foundation, Inc. @@ -63,7 +63,7 @@ #include "sort.h" -__RCSID("$NetBSD: init.c,v 1.29 2013/10/18 20:47:06 christos Exp $"); +__RCSID("$NetBSD: init.c,v 1.30 2021/09/19 11:37:01 andvar Exp $"); #include <ctype.h> #include <string.h> @@ -402,7 +402,7 @@ fixit(int *argc, char **argv, const char * Numeric sorts don't need any tables, they are reversed by negation. * * Global reverse sorts are done by writing the sorted keys in reverse - * order - the sort itself is stil forwards. + * order - the sort itself is still forwards. * This means that weights are only ever used when generating keys, any * sort of the original data bytes is always forwards and unweighted. * Index: src/usr.sbin/ndp/ndp.8 diff -u src/usr.sbin/ndp/ndp.8:1.32 src/usr.sbin/ndp/ndp.8:1.33 --- src/usr.sbin/ndp/ndp.8:1.32 Tue Sep 15 10:11:35 2020 +++ src/usr.sbin/ndp/ndp.8 Sun Sep 19 11:37:01 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: ndp.8,v 1.32 2020/09/15 10:11:35 roy Exp $ +.\" $NetBSD: ndp.8,v 1.33 2021/09/19 11:37:01 andvar Exp $ .\" $KAME: ndp.8,v 1.33 2005/10/19 14:57:42 suz Exp $ .\" .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -187,7 +187,7 @@ While the flag can be set or cleared by .Nm command, it is not generally advisable to modify this flag manually. .It Ic basereachable=(number) -Specify the BaseReachbleTimer on the interface in millisecond. +Specify the BaseReachableTimer on the interface in millisecond. .It Ic retrans=(number) Specify the RetransTimer on the interface in millisecond. .It Ic curhlim=(number)