From 947fbafb45a25a1ec7d954a49445905bf6263703 Mon Sep 17 00:00:00 2001 From: andvar Date: Fri, 2 Feb 2024 22:33:42 +0000 Subject: [PATCH] fix typos, mainly s/unsupport/unsupported/ in log messages. --- sys/arch/ia64/ia64/consinit.c | 6 +++--- sys/arch/powerpc/ibm4xx/dev/if_emac.c | 6 +++--- sys/arch/sparc64/include/ctlreg.h | 4 ++-- sys/dev/marvell/gtidmac.c | 6 +++--- sys/dev/pci/unichromemode.h | 4 ++-- usr.bin/nbperf/nbperf.c | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sys/arch/ia64/ia64/consinit.c b/sys/arch/ia64/ia64/consinit.c index 432026528034..863a2aa0e65c 100644 --- a/sys/arch/ia64/ia64/consinit.c +++ b/sys/arch/ia64/ia64/consinit.c @@ -1,4 +1,4 @@ -/* $NetBSD: consinit.c,v 1.4 2014/04/03 17:07:07 martin Exp $ */ +/* $NetBSD: consinit.c,v 1.5 2024/02/02 22:33:42 andvar Exp $ */ /* * Copyright (c) 2009 KIYOHARA Takashi * All rights reserved. @@ -25,7 +25,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.4 2014/04/03 17:07:07 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.5 2024/02/02 22:33:42 andvar Exp $"); #include #include @@ -94,7 +94,7 @@ pcdp_cnprobe(struct consdev *cn) #if defined(DIAGNOSTIC) if (tbl->revision < 3) panic("PCDP found in HCDP rev.%d." - " Maybe unsupport PCDP", + " Maybe unsupported PCDP", tbl->revision); #endif cn->cn_pri = CN_NORMAL; diff --git a/sys/arch/powerpc/ibm4xx/dev/if_emac.c b/sys/arch/powerpc/ibm4xx/dev/if_emac.c index db441f61c754..7987401bfd82 100644 --- a/sys/arch/powerpc/ibm4xx/dev/if_emac.c +++ b/sys/arch/powerpc/ibm4xx/dev/if_emac.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_emac.c,v 1.57 2022/09/18 13:19:40 thorpej Exp $ */ +/* $NetBSD: if_emac.c,v 1.58 2024/02/02 22:33:42 andvar Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. @@ -52,7 +52,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_emac.c,v 1.57 2022/09/18 13:19:40 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_emac.c,v 1.58 2024/02/02 22:33:42 andvar Exp $"); #ifdef _KERNEL_OPT #include "opt_emac.h" @@ -467,7 +467,7 @@ emac_attach(device_t parent, device_t self, void *aux) opbc = STACR_OPBC_A100MHZ; break; } - aprint_error_dev(self, "unsupport OPB frequency %dMHz\n", + aprint_error_dev(self, "unsupported OPB frequency %dMHz\n", opb_freq / 1000 / 1000); goto fail_5; } diff --git a/sys/arch/sparc64/include/ctlreg.h b/sys/arch/sparc64/include/ctlreg.h index 872817e21f33..69e92a5033db 100644 --- a/sys/arch/sparc64/include/ctlreg.h +++ b/sys/arch/sparc64/include/ctlreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: ctlreg.h,v 1.69 2023/08/10 20:02:56 andvar Exp $ */ +/* $NetBSD: ctlreg.h,v 1.70 2024/02/02 22:33:42 andvar Exp $ */ /* * Copyright (c) 1996-2002 Eduardo Horvath @@ -286,7 +286,7 @@ /* SFSR bits for both D_SFSR and I_SFSR */ #define SFSR_ASI(x) ((x)>>16) -#define SFSR_FT_VA_OOR_2 0x02000 /* IMMU: jumpl or return to unsupportd VA */ +#define SFSR_FT_VA_OOR_2 0x02000 /* IMMU: jumpl or return to unsupported VA */ #define SFSR_FT_VA_OOR_1 0x01000 /* fault at unsupported VA */ #define SFSR_FT_NFO 0x00800 /* DMMU: Access to page marked NFO */ #define SFSR_ILL_ASI 0x00400 /* DMMU: Illegal (unsupported) ASI */ diff --git a/sys/dev/marvell/gtidmac.c b/sys/dev/marvell/gtidmac.c index f0df0dc78c9b..5b938771cf9f 100644 --- a/sys/dev/marvell/gtidmac.c +++ b/sys/dev/marvell/gtidmac.c @@ -1,4 +1,4 @@ -/* $NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $ */ +/* $NetBSD: gtidmac.c,v 1.20 2024/02/02 22:33:42 andvar Exp $ */ /* * Copyright (c) 2008, 2012, 2016 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.20 2024/02/02 22:33:42 andvar Exp $"); #include #include @@ -1020,7 +1020,7 @@ gtidmac_setup(void *tag, int chan, int ninputs, bus_dmamap_t *dmamap_in, ccl |= GTIDMAC_CCLR_SBL_128B; else panic("gtidmac_setup: chan%d source:" - " unsupport hold size", chan); + " unsupported hold size", chan); } else ccl |= GTIDMAC_CCLR_SBL_128B; if (size != (*dmamap_out)->dm_mapsize) { diff --git a/sys/dev/pci/unichromemode.h b/sys/dev/pci/unichromemode.h index 8c08353c0ccc..7eff7e8361e4 100644 --- a/sys/dev/pci/unichromemode.h +++ b/sys/dev/pci/unichromemode.h @@ -1,4 +1,4 @@ -/* $NetBSD: unichromemode.h,v 1.1 2006/08/02 01:44:09 jmcneill Exp $ */ +/* $NetBSD: unichromemode.h,v 1.2 2024/02/02 22:33:42 andvar Exp $ */ /* * Copyright 1998-2006 VIA Technologies, Inc. All Rights Reserved. @@ -243,7 +243,7 @@ struct io_reg KM400_ModeXregs[] = { {VIACR, CR33, 0xFF, 0x00}, {VIACR, CR55, 0x80, 0x00}, {VIACR, CR5D, 0x80, 0x00}, - {VIACR, CR36, 0xFF, 0x01}, /* Power Mangement 3 */ + {VIACR, CR36, 0xFF, 0x01}, /* Power Management 3 */ {VIACR, CR62, 0xFF, 0x00}, /* Secondary Display Starting Address */ {VIACR, CR63, 0xFF, 0x00}, /* Secondary Display Starting Address */ {VIACR, CR64, 0xFF, 0x00}, /* Secondary Display Starting Address */ diff --git a/usr.bin/nbperf/nbperf.c b/usr.bin/nbperf/nbperf.c index d829816401f0..fd358b17b4ef 100644 --- a/usr.bin/nbperf/nbperf.c +++ b/usr.bin/nbperf/nbperf.c @@ -1,4 +1,4 @@ -/* $NetBSD: nbperf.c,v 1.7 2021/01/12 14:21:18 joerg Exp $ */ +/* $NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. * All rights reserved. @@ -36,7 +36,7 @@ #endif #include -__RCSID("$NetBSD: nbperf.c,v 1.7 2021/01/12 14:21:18 joerg Exp $"); +__RCSID("$NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $"); #include #include @@ -146,7 +146,7 @@ main(int argc, char **argv) strcmp(optarg, "bdz") == 0) build_hash = bpz_compute; else - errx(1, "Unsupport algorithm: %s", optarg); + errx(1, "Unsupported algorithm: %s", optarg); break; case 'c': errno = 0;