Skip to content

Commit 2c375df

Browse files
committed
fix various typos in comments and log messages, mainly s/hight/high/
s/hight/height/ and removing double m in time(ing).
1 parent becb809 commit 2c375df

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

games/robots/init_field.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: init_field.c,v 1.12 2009/07/20 06:39:06 dholland Exp $ */
1+
/* $NetBSD: init_field.c,v 1.13 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
3434
#if 0
3535
static char sccsid[] = "@(#)init_field.c 8.1 (Berkeley) 5/31/93";
3636
#else
37-
__RCSID("$NetBSD: init_field.c,v 1.12 2009/07/20 06:39:06 dholland Exp $");
37+
__RCSID("$NetBSD: init_field.c,v 1.13 2024/07/05 19:28:36 andvar Exp $");
3838
#endif
3939
#endif /* not lint */
4040

@@ -46,7 +46,7 @@ static int tely = 0;
4646

4747
/*
4848
* init_field:
49-
* Lay down the initial pattern whih is constant across all levels,
49+
* Lay down the initial pattern which is constant across all levels,
5050
* and initialize all the global variables.
5151
*/
5252
void

sys/arch/arm/s3c2xx0/s3c24x0_lcd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: s3c24x0_lcd.c,v 1.15 2020/11/20 18:34:45 thorpej Exp $ */
1+
/* $NetBSD: s3c24x0_lcd.c,v 1.16 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 2004 Genetec Corporation. All rights reserved.
@@ -34,7 +34,7 @@
3434
*/
3535

3636
#include <sys/cdefs.h>
37-
__KERNEL_RCSID(0, "$NetBSD: s3c24x0_lcd.c,v 1.15 2020/11/20 18:34:45 thorpej Exp $");
37+
__KERNEL_RCSID(0, "$NetBSD: s3c24x0_lcd.c,v 1.16 2024/07/05 19:28:36 andvar Exp $");
3838

3939
#include <sys/param.h>
4040
#include <sys/systm.h>
@@ -402,7 +402,7 @@ s3c24x0_lcd_new_screen(struct s3c24x0_lcd_softc *sc,
402402
#define rgb(r,g,b) _rgb((r)>>1,g,(b)>>1)
403403

404404
#define L 0x30 /* low intensity */
405-
#define H 0x3f /* hight intensity */
405+
#define H 0x3f /* high intensity */
406406

407407
static const uint16_t basic_color_map[] = {
408408
rgb( 0, 0, 0), /* black */

sys/arch/atari/dev/grfabs_fal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: grfabs_fal.c,v 1.29 2023/01/06 10:28:28 tsutsui Exp $ */
1+
/* $NetBSD: grfabs_fal.c,v 1.30 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1995 Thomas Gerner.
@@ -27,7 +27,7 @@
2727
*/
2828

2929
#include <sys/cdefs.h>
30-
__KERNEL_RCSID(0, "$NetBSD: grfabs_fal.c,v 1.29 2023/01/06 10:28:28 tsutsui Exp $");
30+
__KERNEL_RCSID(0, "$NetBSD: grfabs_fal.c,v 1.30 2024/07/05 19:28:36 andvar Exp $");
3131

3232
#ifdef FALCON_VIDEO
3333
/*
@@ -280,7 +280,7 @@ falcon_detect(dmode_t *dm)
280280
dm->depth = 1; /* 2 color */
281281

282282
/*
283-
* Now calculate the screen hight
283+
* Now calculate the screen height
284284
*/
285285

286286
dm->size.height = vregs->vd_v_dis_end - vregs->vd_v_dis_beg;

sys/arch/evbppc/mpc85xx/cadmusreg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: cadmusreg.h,v 1.2 2011/01/18 01:10:25 matt Exp $ */
1+
/* $NetBSD: cadmusreg.h,v 1.3 2024/07/05 19:28:35 andvar Exp $ */
22
/*-
33
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
44
* All rights reserved.
@@ -51,7 +51,7 @@
5151
#define CM_CSR_EPHY_GET(n) __SHIFTOUT((n), CM_CSR_EPHY)
5252
#define CM_CSR_LED __BIT(0)
5353
#define CM_RST 0x02 /* Reset control register */
54-
#define CM_RST_XRSTEN __BIT(7) /* Enable the NVRAM watchdog timr to function as a general reset input */
54+
#define CM_RST_XRSTEN __BIT(7) /* Enable the NVRAM watchdog timer to function as a general reset input */
5555
#define CM_RST_PHYRST __BIT(6) /* Reset the Ethernet PHY */
5656
#define CM_RST_ATM1RST __BIT(5) /* Reset the FCC1/ATM1 PHYS */
5757
#define CM_RST_ATM2RST __BIT(4) /* Reset the FCC2/ATM2 PHY */

sys/arch/hpcmips/dev/mq200debug.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mq200debug.c,v 1.6 2014/03/26 17:53:36 christos Exp $ */
1+
/* $NetBSD: mq200debug.c,v 1.7 2024/07/05 19:28:35 andvar Exp $ */
22

33
/*-
44
* Copyright (c) 2001 TAKEMURA Shin
@@ -31,7 +31,7 @@
3131

3232
#ifdef _KERNEL
3333
#include <sys/cdefs.h>
34-
__KERNEL_RCSID(0, "$NetBSD: mq200debug.c,v 1.6 2014/03/26 17:53:36 christos Exp $");
34+
__KERNEL_RCSID(0, "$NetBSD: mq200debug.c,v 1.7 2024/07/05 19:28:35 andvar Exp $");
3535

3636
#include <sys/param.h>
3737
#include <sys/kernel.h>
@@ -424,7 +424,7 @@ mq200_dump_gc(struct mq200_softc *sc, int gc)
424424
* GC09R Window Vertical Control
425425
*/
426426
reg = mq200_read(sc, MQ200_GCWVCR(gc));
427-
printf("GC09R=0x%08x: Window Vertical start=%03d hight=%03d\n",
427+
printf("GC09R=0x%08x: Window Vertical start=%03d height=%03d\n",
428428
reg,
429429
(reg&MQ200_GCWVC_START_MASK)>> MQ200_GCWVC_START_SHIFT,
430430
(reg&MQ200_GCWVC_HEIGHT_MASK)>> MQ200_GCWVC_HEIGHT_SHIFT);
@@ -447,7 +447,7 @@ mq200_dump_gc(struct mq200_softc *sc, int gc)
447447
* GC0BR Alternate Window Vertical Control
448448
*/
449449
reg = mq200_read(sc, MQ200_GCAWVCR(gc));
450-
printf("GC0BR=0x%08x: Altwin Vertical start=%03d hight=%03d\n",
450+
printf("GC0BR=0x%08x: Altwin Vertical start=%03d height=%03d\n",
451451
reg,
452452
(reg&MQ200_GCAWVC_START_MASK)>> MQ200_GCAWVC_START_SHIFT,
453453
(reg&MQ200_GCAWVC_HEIGHT_MASK)>> MQ200_GCAWVC_HEIGHT_SHIFT);

sys/arch/hpcmips/vr/vrpiu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: vrpiu.c,v 1.44 2021/08/07 16:18:54 thorpej Exp $ */
1+
/* $NetBSD: vrpiu.c,v 1.45 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1999-2003 TAKEMURA Shin All rights reserved.
@@ -33,7 +33,7 @@
3333
*/
3434

3535
#include <sys/cdefs.h>
36-
__KERNEL_RCSID(0, "$NetBSD: vrpiu.c,v 1.44 2021/08/07 16:18:54 thorpej Exp $");
36+
__KERNEL_RCSID(0, "$NetBSD: vrpiu.c,v 1.45 2024/07/05 19:28:36 andvar Exp $");
3737

3838
#include <sys/param.h>
3939
#include <sys/systm.h>
@@ -821,7 +821,7 @@ vrpiu_calc_powerstate(struct vrpiu_softc *sc)
821821
sc->sc_battery.nextpoll = hz*vrpiu_ad_poll_interval;
822822
vrpiu_send_battery_event(sc);
823823
/*
824-
* restart next A/D polling if change polling timming.
824+
* restart next A/D polling if change polling timing.
825825
*/
826826
if (sc->sc_battery.nextpoll != hz*vrpiu_ad_poll_interval)
827827
callout_reset(&sc->sc_adpoll, sc->sc_battery.nextpoll,

sys/arch/luna68k/stand/boot/bmd.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: bmd.c,v 1.9 2023/10/13 16:30:01 tsutsui Exp $ */
1+
/* $NetBSD: bmd.c,v 1.10 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 1992 OMRON Corporation.
@@ -102,18 +102,18 @@ union bmd_rfcnt {
102102
#define BMAP_OFFSET 8
103103

104104
#define PB_WIDTH 2048 /* Plane Width (Bit) */
105-
#define PB_HEIGHT 1024 /* Plane Hight (Bit) */
105+
#define PB_HEIGHT 1024 /* Plane Height (Bit) */
106106
#define PL_WIDTH 64 /* Plane Width (long) */
107107
#define PS_WIDTH 128 /* Plane Width (long) */
108108
#define P_WIDTH 256 /* Plane Width (Byte) */
109109

110110
#define SB_WIDTH 1280 /* Screen Width (Bit) */
111-
#define SB_HEIGHT 1024 /* Screen Hight (Bit) */
111+
#define SB_HEIGHT 1024 /* Screen Height (Bit) */
112112
#define SL_WIDTH 40 /* Screen Width (Long) */
113113
#define S_WIDTH 160 /* Screen Width (Byte) */
114114

115115
#define FB_WIDTH 12 /* Font Width (Bit) */
116-
#define FB_HEIGHT 20 /* Font Hight (Bit) */
116+
#define FB_HEIGHT 20 /* Font Height (Bit) */
117117

118118

119119
#define NEXT_LINE(addr) (addr + (PL_WIDTH * FB_HEIGHT))

sys/arch/shark/shark/i8042.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: i8042.c,v 1.8 2021/09/16 22:19:10 andvar Exp $ */
1+
/* $NetBSD: i8042.c,v 1.9 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright 1997
@@ -59,7 +59,7 @@
5959
*/
6060

6161
#include <sys/cdefs.h>
62-
__KERNEL_RCSID(0, "$NetBSD: i8042.c,v 1.8 2021/09/16 22:19:10 andvar Exp $");
62+
__KERNEL_RCSID(0, "$NetBSD: i8042.c,v 1.9 2024/07/05 19:28:36 andvar Exp $");
6363

6464
#include <sys/param.h>
6565
#include <sys/kernel.h>
@@ -378,7 +378,7 @@ i8042_cmd(bus_space_tag_t iot,
378378
} /* End If able to get response from device */
379379
else
380380
{
381-
/* Timmed out waiting for a response .... maybe we
381+
/* Timed out waiting for a response .... maybe we
382382
** weren't meant to get one ??
383383
*/
384384
KERN_DEBUG(i8042debug, KERN_DEBUG_WARNING,

sys/dev/hpc/hpcbatteryvar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: hpcbatteryvar.h,v 1.4 2012/10/27 17:18:17 chs Exp $ */
1+
/* $NetBSD: hpcbatteryvar.h,v 1.5 2024/07/05 19:28:36 andvar Exp $ */
22

33
/*
44
* Copyright (c) 2000-2001 SATO Kazumi
@@ -104,7 +104,7 @@ struct hpcbattery_spec {
104104
int backup_port; /* index of backup battery port, -1 then ignore */
105105
int b_full; /* backup battery full */
106106
int b_low; /* backup battery low */
107-
int b_critical; /* backup battery hight */
107+
int b_critical; /* backup battery high */
108108
int b_flag; /* main battery value positive, negative flag. 1 or -1 */
109109
int nocharge_port; /* nocharge/(charge or dc) z50, -1 then ignore*/
110110
int n_low; /* if n_flag*value < n_flag*n_low, now nocharging... */

0 commit comments

Comments
 (0)