Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src fix few typos in comments and log message.
details: https://anonhg.NetBSD.org/src/rev/61ef899f9a6a
branches: trunk
changeset: 361558:61ef899f9a6a
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Feb 13 22:20:08 2022 +0000
description:
fix few typos in comments and log message.
diffstat:
lib/libc/rpc/xdr_reference.c | 8 ++++----
sys/netipsec/keysock.h | 4 ++--
usr.sbin/acpitools/acpidump/acpi.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r db14b7dab783 -r 61ef899f9a6a lib/libc/rpc/xdr_reference.c
--- a/lib/libc/rpc/xdr_reference.c Sun Feb 13 19:40:14 2022 +0000
+++ b/lib/libc/rpc/xdr_reference.c Sun Feb 13 22:20:08 2022 +0000
@@ -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 @@
* 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_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 -r db14b7dab783 -r 61ef899f9a6a sys/netipsec/keysock.h
--- a/sys/netipsec/keysock.h Sun Feb 13 19:40:14 2022 +0000
+++ b/sys/netipsec/keysock.h Sun Feb 13 22:20:08 2022 +0000
@@ -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 -r db14b7dab783 -r 61ef899f9a6a usr.sbin/acpitools/acpidump/acpi.c
--- a/usr.sbin/acpitools/acpidump/acpi.c Sun Feb 13 19:40:14 2022 +0000
+++ b/usr.sbin/acpitools/acpidump/acpi.c Sun Feb 13 22:20:08 2022 +0000
@@ -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 @@
printf("Not coherent\n");
break;
default:
- printf("resrved (%u)\n", memacc->CacheCoherency);
+ printf("reserved (%u)\n", memacc->CacheCoherency);
break;
}
printf("\t\tAllocation Hints=");
Home |
Main Index |
Thread Index |
Old Index