Module Name: src
Committed By: andvar
Date: Sun Mar 17 21:48:02 UTC 2024
Modified Files:
src/lib/libc/gen: vis.c
src/sys/arch/usermode/usermode: thunk.c
src/sys/netinet: sctp.h
src/usr.bin/mail: strings.c
Log Message:
Add missing "e" in few words, in comments and one log message.
To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/lib/libc/gen/vis.c
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/usermode/usermode/thunk.c
cvs rdiff -u -r1.5 -r1.6 src/sys/netinet/sctp.h
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/mail/strings.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/vis.c
diff -u src/lib/libc/gen/vis.c:1.87 src/lib/libc/gen/vis.c:1.88
--- src/lib/libc/gen/vis.c:1.87 Sat Jan 20 14:52:47 2024
+++ src/lib/libc/gen/vis.c Sun Mar 17 21:48:02 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.c,v 1.87 2024/01/20 14:52:47 christos Exp $ */
+/* $NetBSD: vis.c,v 1.88 2024/03/17 21:48:02 andvar Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -57,7 +57,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: vis.c,v 1.87 2024/01/20 14:52:47 christos Exp $");
+__RCSID("$NetBSD: vis.c,v 1.88 2024/03/17 21:48:02 andvar Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef __FBSDID
__FBSDID("$FreeBSD$");
@@ -653,7 +653,7 @@ istrsenvisx(char **mbdstp, size_t *dlen,
mbdst += clen;
/* Advance buffer character pointer. */
dst++;
- /* Incrment output character count. */
+ /* Increment output character count. */
olen += clen;
}
Index: src/sys/arch/usermode/usermode/thunk.c
diff -u src/sys/arch/usermode/usermode/thunk.c:1.92 src/sys/arch/usermode/usermode/thunk.c:1.93
--- src/sys/arch/usermode/usermode/thunk.c:1.92 Wed May 8 13:40:16 2019
+++ src/sys/arch/usermode/usermode/thunk.c Sun Mar 17 21:48:01 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: thunk.c,v 1.92 2019/05/08 13:40:16 isaki Exp $ */
+/* $NetBSD: thunk.c,v 1.93 2024/03/17 21:48:01 andvar Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __NetBSD__
-__RCSID("$NetBSD: thunk.c,v 1.92 2019/05/08 13:40:16 isaki Exp $");
+__RCSID("$NetBSD: thunk.c,v 1.93 2024/03/17 21:48:01 andvar Exp $");
#endif
#define _KMEMUSER
@@ -1436,7 +1436,7 @@ thunk_rfb_poll(thunk_rfb_t *rfb, thunk_r
framebuffer_update_request[2],
framebuffer_update_request[3],
framebuffer_update_request[4],
- framebuffer_update_request[0]?"Incrmental":"Complete");
+ framebuffer_update_request[0]?"Incremental":"Complete");
#endif
if (framebuffer_update_request[0] == 0) {
Index: src/sys/netinet/sctp.h
diff -u src/sys/netinet/sctp.h:1.5 src/sys/netinet/sctp.h:1.6
--- src/sys/netinet/sctp.h:1.5 Sun Oct 24 20:00:12 2021
+++ src/sys/netinet/sctp.h Sun Mar 17 21:48:01 2024
@@ -1,5 +1,5 @@
/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */
-/* $NetBSD: sctp.h,v 1.5 2021/10/24 20:00:12 andvar Exp $ */
+/* $NetBSD: sctp.h,v 1.6 2024/03/17 21:48:01 andvar Exp $ */
#ifndef _NETINET_SCTP_H_
#define _NETINET_SCTP_H_
@@ -146,8 +146,8 @@ struct sctp_paramhdr {
#define SCTP_PEER_PUBLIC_KEY 0x00000100 /* get the peers public key */
#define SCTP_MY_PUBLIC_KEY 0x00000101 /* get/set my endpoints public key */
#define SCTP_SET_AUTH_SECRET 0x00000102 /* get/set my shared secret */
-#define SCTP_SET_AUTH_CHUNKS 0x00000103/* specify what chunks you want
- * the system may have additional requirments
+#define SCTP_SET_AUTH_CHUNKS 0x00000103 /* specify what chunks you want
+ * the system may have additional requirements
* as well. I.e. probably ASCONF/ASCONF-ACK no matter
* if you want it or not.
*/
Index: src/usr.bin/mail/strings.c
diff -u src/usr.bin/mail/strings.c:1.18 src/usr.bin/mail/strings.c:1.19
--- src/usr.bin/mail/strings.c:1.18 Tue Jan 12 14:45:31 2010
+++ src/usr.bin/mail/strings.c Sun Mar 17 21:48:02 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: strings.c,v 1.18 2010/01/12 14:45:31 christos Exp $ */
+/* $NetBSD: strings.c,v 1.19 2024/03/17 21:48:02 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)strings.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: strings.c,v 1.18 2010/01/12 14:45:31 christos Exp $");
+__RCSID("$NetBSD: strings.c,v 1.19 2024/03/17 21:48:02 andvar Exp $");
#endif
#endif /* not lint */
@@ -107,7 +107,7 @@ salloc(size_t size)
}
/*
- * Allocate zeroed space for 'number' elments of size 'size'.
+ * Allocate zeroed space for 'number' elements of size 'size'.
*/
PUBLIC void *
csalloc(size_t number, size_t size)