summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2023-04-28 22:31:38 +0000
committerandvar <andvar@NetBSD.org>2023-04-28 22:31:38 +0000
commitb23175dee41aa4ac605486375e7edfc424541c6f (patch)
treeb70189e811204edd38c1946a3166be5bfa3f056b /sys
parent237c98d025ad6ed3e8e04e82dcaaabfa7922faf3 (diff)
fix few typos and grammar in comments.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sh3/include/mmu_sh4.h8
-rw-r--r--sys/fs/nfs/nlm/nlm_prot_impl.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/sh3/include/mmu_sh4.h b/sys/arch/sh3/include/mmu_sh4.h
index f89b297ce95..3c6c88c2b3f 100644
--- a/sys/arch/sh3/include/mmu_sh4.h
+++ b/sys/arch/sh3/include/mmu_sh4.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mmu_sh4.h,v 1.7 2008/04/28 20:23:35 martin Exp $ */
+/* $NetBSD: mmu_sh4.h,v 1.8 2023/04/28 22:31:38 andvar Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -73,9 +73,9 @@
SH4_MMUCR_URC_MASK | SH4_MMUCR_SQMD | SH4_MMUCR_SV | SH4_MMUCR_AT)
/*
* memory-mapped TLB
- * must be access from P2-area program.
- * branch to the other area must be maed at least 8 instruction
- * after access.
+ * must be accessed from P2-area program.
+ * branch to the other area must be made at least 8 instructions
+ * after the access.
*/
#define SH4_ITLB_ENTRY 4
#define SH4_UTLB_ENTRY 64
diff --git a/sys/fs/nfs/nlm/nlm_prot_impl.c b/sys/fs/nfs/nlm/nlm_prot_impl.c
index ea0242d852b..839073f54b0 100644
--- a/sys/fs/nfs/nlm/nlm_prot_impl.c
+++ b/sys/fs/nfs/nlm/nlm_prot_impl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nlm_prot_impl.c,v 1.4 2016/12/13 21:58:17 pgoyette Exp $ */
+/* $NetBSD: nlm_prot_impl.c,v 1.5 2023/04/28 22:31:38 andvar Exp $ */
/*-
* Copyright (c) 2008 Isilon Inc http://www.isilon.com/
* Authors: Doug Rabson <dfr@rabson.org>
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
/* __FBSDID("FreeBSD: head/sys/nlm/nlm_prot_impl.c 302216 2016-06-26 20:08:42Z kib "); */
-__RCSID("$NetBSD: nlm_prot_impl.c,v 1.4 2016/12/13 21:58:17 pgoyette Exp $");
+__RCSID("$NetBSD: nlm_prot_impl.c,v 1.5 2023/04/28 22:31:38 andvar Exp $");
#include <sys/param.h>
#include <sys/fail.h>
@@ -247,7 +247,7 @@ struct nlm_host {
volatile u_int nh_refs; /* (a) reference count */
TAILQ_ENTRY(nlm_host) nh_link; /* (g) global list of hosts */
char nh_caller_name[MAXNAMELEN]; /* (c) printable name of host */
- uint32_t nh_sysid; /* (c) our allocaed system ID */
+ uint32_t nh_sysid; /* (c) our allocated system ID */
char nh_sysid_string[10]; /* (c) string rep. of sysid */
struct sockaddr_storage nh_addr; /* (s) remote address of host */
struct nlm_rpc nh_srvrpc; /* (l) RPC for server replies */