From 9719c27fead1c730f6066a84ea96173b9f4ed9e7 Mon Sep 17 00:00:00 2001 From: andvar Date: Thu, 1 Jun 2023 20:15:16 +0000 Subject: [PATCH] fix various typos in comments. --- games/cribbage/crib.c | 6 +++--- sys/arch/hpcsh/dev/pfckbd.c | 6 +++--- sys/arch/riscv/conf/GENERIC.common | 4 ++-- sys/dev/ic/isp_target.h | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/games/cribbage/crib.c b/games/cribbage/crib.c index c3eaa35fce5d..8ed791933aaa 100644 --- a/games/cribbage/crib.c +++ b/games/cribbage/crib.c @@ -1,4 +1,4 @@ -/* $NetBSD: crib.c,v 1.26 2023/01/06 17:13:46 christos Exp $ */ +/* $NetBSD: crib.c,v 1.27 2023/06/01 20:15:16 andvar Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "@(#)crib.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: crib.c,v 1.26 2023/01/06 17:13:46 christos Exp $"); +__RCSID("$NetBSD: crib.c,v 1.27 2023/06/01 20:15:16 andvar Exp $"); #endif #endif /* not lint */ @@ -493,7 +493,7 @@ peg(BOOLEAN mycrib) prhand(ph, pnum, Playwin, FALSE); prhand(ch, cnum, Compwin, TRUE); prtable(sum); - if (myturn) { /* my tyrn to play */ + if (myturn) { /* my turn to play */ if (!anymove(ch, cnum, sum)) { /* if no card to play */ if (!mego && cnum) { /* go for comp? */ msg("GO"); diff --git a/sys/arch/hpcsh/dev/pfckbd.c b/sys/arch/hpcsh/dev/pfckbd.c index bf35c0f53d30..156ed3dd47f4 100644 --- a/sys/arch/hpcsh/dev/pfckbd.c +++ b/sys/arch/hpcsh/dev/pfckbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: pfckbd.c,v 1.32 2021/08/07 16:18:54 thorpej Exp $ */ +/* $NetBSD: pfckbd.c,v 1.33 2023/06/01 20:15:16 andvar Exp $ */ /*- * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ * currently, HP Jornada 680/690, HITACHI PERSONA HPW-50PAD only. */ #include -__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.32 2021/08/07 16:18:54 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.33 2023/06/01 20:15:16 andvar Exp $"); #include "debug_hpcsh.h" @@ -90,7 +90,7 @@ static void pfckbd_callout_hitachi(struct pfckbd_core *); void pfckbd_poll_hitachi_power(void); -/* callout function table. this function is platfrom specific. */ +/* callout function table. this function is platform specific. */ static const struct { platid_mask_t *platform; void (*func)(struct pfckbd_core *); diff --git a/sys/arch/riscv/conf/GENERIC.common b/sys/arch/riscv/conf/GENERIC.common index 5a86bddf6493..108bc6096ab6 100644 --- a/sys/arch/riscv/conf/GENERIC.common +++ b/sys/arch/riscv/conf/GENERIC.common @@ -1,5 +1,5 @@ # -# $NetBSD: GENERIC.common,v 1.2 2023/05/08 07:52:55 skrll Exp $ +# $NetBSD: GENERIC.common,v 1.3 2023/06/01 20:15:16 andvar Exp $ # # GENERIC common RISC-V kernel config items shared between 32 and 64 # kernels @@ -128,7 +128,7 @@ intc* at cpu? pass 1 # Core-level Interupt Control block #clint0 at fdt? pass 2 -# Platfrom-Level Interrupt Controller +# Platform-Level Interrupt Controller plic* at fdt? pass 2 # Clocks diff --git a/sys/dev/ic/isp_target.h b/sys/dev/ic/isp_target.h index e1ef0bab11c3..d731da53ee38 100644 --- a/sys/dev/ic/isp_target.h +++ b/sys/dev/ic/isp_target.h @@ -1,4 +1,4 @@ --/* $NetBSD: isp_target.h,v 1.26 2009/06/25 23:44:02 mjacob Exp $ */ +-/* $NetBSD: isp_target.h,v 1.27 2023/06/01 20:15:16 andvar Exp $ */ /*- * Copyright (c) 1997-2008 by Matthew Jacob * All rights reserved. @@ -90,7 +90,7 @@ typedef struct isp_notify { if (isp->isp_dblev & ISP_LOGTDEBUG2) isp_print_qentry(isp, msg, idx, arg) /* - * Special Constatns + * Special Constants */ #define INI_ANY ((uint64_t) -1) #define VALID_INI(ini) (ini != INI_NONE && ini != INI_ANY)