summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-02-13 22:20:08 +0000
committerandvar <andvar@NetBSD.org>2022-02-13 22:20:08 +0000
commit8d2846207a06d55c4e18ee7e75c60dbf10ad12ea (patch)
tree90b708b16d651309fb6ea40adf32cf26a4c02a74
parent3388fd83f87bb49dd817c358815dcfb91e9c7547 (diff)
fix few typos in comments and log message.
-rw-r--r--lib/libc/rpc/xdr_reference.c8
-rw-r--r--sys/netipsec/keysock.h4
-rw-r--r--usr.sbin/acpitools/acpidump/acpi.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/rpc/xdr_reference.c b/lib/libc/rpc/xdr_reference.c
index a126d95fc73..11c913d5da5 100644
--- a/lib/libc/rpc/xdr_reference.c
+++ b/lib/libc/rpc/xdr_reference.c
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr_reference.c,v 1.18 2013/03/11 20:19:30 tron Exp $ */
+/* $NetBSD: xdr_reference.c,v 1.19 2022/02/13 22:20:08 andvar Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
static char *sccsid = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
static char *sccsid = "@(#)xdr_reference.c 2.1 88/07/29 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: xdr_reference.c,v 1.18 2013/03/11 20:19:30 tron Exp $");
+__RCSID("$NetBSD: xdr_reference.c,v 1.19 2022/02/13 22:20:08 andvar Exp $");
#endif
#endif
@@ -71,7 +71,7 @@ __weak_alias(xdr_reference,_xdr_reference)
* referenced by a pointer inside the structure that is currently being
* translated. pp references a pointer to storage. If *pp is null
* the necessary storage is allocated.
- * size is the sizeof the referneced structure.
+ * size is the sizeof the referenced structure.
* proc is the routine to handle the referenced structure.
*/
bool_t
@@ -112,7 +112,7 @@ xdr_reference(XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc)
* xdr_pointer():
*
* XDR a pointer to a possibly recursive data structure. This
- * differs with xdr_reference in that it can serialize/deserialiaze
+ * differs with xdr_reference in that it can serialize/deserialize
* trees correctly.
*
* What's sent is actually a union:
diff --git a/sys/netipsec/keysock.h b/sys/netipsec/keysock.h
index fac9b259e61..1428ac8dc1a 100644
--- a/sys/netipsec/keysock.h
+++ b/sys/netipsec/keysock.h
@@ -1,4 +1,4 @@
-/* $NetBSD: keysock.h,v 1.12 2018/12/24 15:57:15 maxv Exp $ */
+/* $NetBSD: keysock.h,v 1.13 2022/02/13 22:20:08 andvar Exp $ */
/* $FreeBSD: keysock.h,v 1.1.4.1 2003/01/24 05:11:36 sam Exp $ */
/* $KAME: keysock.h,v 1.8 2000/03/27 05:11:06 sumikawa Exp $ */
@@ -54,7 +54,7 @@
/* space for 256 counters */
#define PFKEY_STAT_IN_MSGTARGET 525 /* one/all/registered */
/* space for 3 counters */
-#define PFKEY_STAT_IN_NOMEM 528 /* memory alloation failure */
+#define PFKEY_STAT_IN_NOMEM 528 /* memory allocation failure */
#define PFKEY_STAT_SOCKERR 529 /* # of socket related errors */
#define PFKEY_NSTATS 530
diff --git a/usr.sbin/acpitools/acpidump/acpi.c b/usr.sbin/acpitools/acpidump/acpi.c
index f9376a475c6..a8b7c9041f5 100644
--- a/usr.sbin/acpitools/acpidump/acpi.c
+++ b/usr.sbin/acpitools/acpidump/acpi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.53 2021/11/08 10:19:42 skrll Exp $ */
+/* $NetBSD: acpi.c,v 1.54 2022/02/13 22:20:09 andvar Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: acpi.c,v 1.53 2021/11/08 10:19:42 skrll Exp $");
+__RCSID("$NetBSD: acpi.c,v 1.54 2022/02/13 22:20:09 andvar Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -2115,7 +2115,7 @@ acpi_print_iort_memory_access(ACPI_IORT_MEMORY_ACCESS *memacc)
printf("Not coherent\n");
break;
default:
- printf("resrved (%u)\n", memacc->CacheCoherency);
+ printf("reserved (%u)\n", memacc->CacheCoherency);
break;
}
printf("\t\tAllocation Hints=");