summaryrefslogtreecommitdiff
path: root/usr.bin/error/subr.c
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-04-07 19:33:37 +0000
committerandvar <andvar@NetBSD.org>2022-04-07 19:33:37 +0000
commit778f560056052e20dd2d2ef0679d8ff3697f63f2 (patch)
treed5a0f1b4ccf9762e556f18e48607f2273edaabff /usr.bin/error/subr.c
parent84bd4a6ef9a5029252546a8bad700318a89cc05b (diff)
fix various typos in comments.
Diffstat (limited to 'usr.bin/error/subr.c')
-rw-r--r--usr.bin/error/subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/error/subr.c b/usr.bin/error/subr.c
index b1d45b92071..43199acfc79 100644
--- a/usr.bin/error/subr.c
+++ b/usr.bin/error/subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: subr.c,v 1.19 2009/08/13 06:59:37 dholland Exp $ */
+/* $NetBSD: subr.c,v 1.20 2022/04/07 19:33:38 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: subr.c,v 1.19 2009/08/13 06:59:37 dholland Exp $");
+__RCSID("$NetBSD: subr.c,v 1.20 2022/04/07 19:33:38 andvar Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -111,7 +111,7 @@ position(const char *string, char ch)
}
/*
- * clobber the first occurance of ch in string by the new character
+ * clobber the first occurrence of ch in string by the new character
*/
char *
substitute(char *string, char chold, char chnew)