Module Name:    src
Committed By:   andvar
Date:           Sun Dec 19 21:15:28 UTC 2021

Modified Files:
        src/bin/sh: jobs.c
        src/sys/dev/hpc: hpcfb.c
        src/sys/dev/pci: pm2fb.c

Log Message:
s/forground/foreground/ in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/bin/sh/jobs.c
cvs rdiff -u -r1.64 -r1.65 src/sys/dev/hpc/hpcfb.c
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/pm2fb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/jobs.c
diff -u src/bin/sh/jobs.c:1.114 src/bin/sh/jobs.c:1.115
--- src/bin/sh/jobs.c:1.114	Sun Oct 10 18:46:25 2021
+++ src/bin/sh/jobs.c	Sun Dec 19 21:15:27 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: jobs.c,v 1.114 2021/10/10 18:46:25 rillig Exp $	*/
+/*	$NetBSD: jobs.c,v 1.115 2021/12/19 21:15:27 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)jobs.c	8.5 (Berkeley) 5/4/95";
 #else
-__RCSID("$NetBSD: jobs.c,v 1.114 2021/10/10 18:46:25 rillig Exp $");
+__RCSID("$NetBSD: jobs.c,v 1.115 2021/12/19 21:15:27 andvar Exp $");
 #endif
 #endif /* not lint */
 
@@ -1308,7 +1308,7 @@ forkchild(struct job *jp, union node *n,
  * the interactive program catches interrupts, the user doesn't want
  * these interrupts to also abort the loop.  The approach we take here
  * is to have the shell ignore interrupt signals while waiting for a
- * forground process to terminate, and then send itself an interrupt
+ * foreground process to terminate, and then send itself an interrupt
  * signal if the child process was terminated by an interrupt signal.
  * Unfortunately, some programs want to do a bit of cleanup and then
  * exit on interrupt; unless these processes terminate themselves by

Index: src/sys/dev/hpc/hpcfb.c
diff -u src/sys/dev/hpc/hpcfb.c:1.64 src/sys/dev/hpc/hpcfb.c:1.65
--- src/sys/dev/hpc/hpcfb.c:1.64	Sat Sep 18 15:14:41 2021
+++ src/sys/dev/hpc/hpcfb.c	Sun Dec 19 21:15:28 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: hpcfb.c,v 1.64 2021/09/18 15:14:41 tsutsui Exp $	*/
+/*	$NetBSD: hpcfb.c,v 1.65 2021/12/19 21:15:28 andvar Exp $	*/
 
 /*-
  * Copyright (c) 1999
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.64 2021/09/18 15:14:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.65 2021/12/19 21:15:28 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_hpcfb.h"
@@ -516,7 +516,7 @@ hpcfb_cmap_reorder(struct hpcfb_fbconf *
 	int i, j, bg, fg, tmp;
 
 	/*
-	 * Set forground and background so that the screen
+	 * Set foreground and background so that the screen
 	 * looks black on white.
 	 * Normally, black = 00 and white = ff.
 	 * HPCFB_ACCESS_REVERSE means black = ff and white = 00.

Index: src/sys/dev/pci/pm2fb.c
diff -u src/sys/dev/pci/pm2fb.c:1.33 src/sys/dev/pci/pm2fb.c:1.34
--- src/sys/dev/pci/pm2fb.c:1.33	Sat Aug  7 16:19:14 2021
+++ src/sys/dev/pci/pm2fb.c	Sun Dec 19 21:15:28 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: pm2fb.c,v 1.33 2021/08/07 16:19:14 thorpej Exp $	*/
+/*	$NetBSD: pm2fb.c,v 1.34 2021/12/19 21:15:28 andvar Exp $	*/
 
 /*
  * Copyright (c) 2009, 2012 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pm2fb.c,v 1.33 2021/08/07 16:19:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pm2fb.c,v 1.34 2021/12/19 21:15:28 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1218,7 +1218,7 @@ pm2fb_putchar_aa(void *cookie, int row, 
 	pm2fb_wait(sc, uimin(200, ri->ri_fontscale));
 
 	/*
-	 * and now we just hammer the forground colour and alpha values into
+	 * and now we just hammer the foreground colour and alpha values into
 	 * the upload port
 	 */
 	for (i = 0; i < ri->ri_fontscale; i++) {

Reply via email to