Module Name: src
Committed By: andvar
Date: Thu Jun 1 20:15:16 UTC 2023
Modified Files:
src/games/cribbage: crib.c
src/sys/arch/hpcsh/dev: pfckbd.c
src/sys/arch/riscv/conf: GENERIC.common
src/sys/dev/ic: isp_target.h
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/games/cribbage/crib.c
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/hpcsh/dev/pfckbd.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/conf/GENERIC.common
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ic/isp_target.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/cribbage/crib.c
diff -u src/games/cribbage/crib.c:1.26 src/games/cribbage/crib.c:1.27
--- src/games/cribbage/crib.c:1.26 Fri Jan 6 17:13:46 2023
+++ src/games/cribbage/crib.c Thu Jun 1 20:15:16 2023
@@ -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, 19
#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");
Index: src/sys/arch/hpcsh/dev/pfckbd.c
diff -u src/sys/arch/hpcsh/dev/pfckbd.c:1.32 src/sys/arch/hpcsh/dev/pfckbd.c:1.33
--- src/sys/arch/hpcsh/dev/pfckbd.c:1.32 Sat Aug 7 16:18:54 2021
+++ src/sys/arch/hpcsh/dev/pfckbd.c Thu Jun 1 20:15:16 2023
@@ -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 <sys/cdefs.h>
-__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(struc
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 *);
Index: src/sys/arch/riscv/conf/GENERIC.common
diff -u src/sys/arch/riscv/conf/GENERIC.common:1.2 src/sys/arch/riscv/conf/GENERIC.common:1.3
--- src/sys/arch/riscv/conf/GENERIC.common:1.2 Mon May 8 07:52:55 2023
+++ src/sys/arch/riscv/conf/GENERIC.common Thu Jun 1 20:15:16 2023
@@ -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
Index: src/sys/dev/ic/isp_target.h
diff -u src/sys/dev/ic/isp_target.h:1.26 src/sys/dev/ic/isp_target.h:1.27
--- src/sys/dev/ic/isp_target.h:1.26 Thu Jun 25 23:44:02 2009
+++ src/sys/dev/ic/isp_target.h Thu Jun 1 20:15:16 2023
@@ -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)