Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys fix few typos and grammar in comments.
details: https://anonhg.NetBSD.org/src/rev/f8e535302bf7
branches: trunk
changeset: 374500:f8e535302bf7
user: andvar <andvar%NetBSD.org@localhost>
date: Fri Apr 28 22:31:38 2023 +0000
description:
fix few typos and grammar in comments.
diffstat:
sys/arch/sh3/include/mmu_sh4.h | 8 ++++----
sys/fs/nfs/nlm/nlm_prot_impl.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (49 lines):
diff -r ee84d8321986 -r f8e535302bf7 sys/arch/sh3/include/mmu_sh4.h
--- a/sys/arch/sh3/include/mmu_sh4.h Fri Apr 28 22:23:45 2023 +0000
+++ b/sys/arch/sh3/include/mmu_sh4.h Fri Apr 28 22:31:38 2023 +0000
@@ -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 -r ee84d8321986 -r f8e535302bf7 sys/fs/nfs/nlm/nlm_prot_impl.c
--- a/sys/fs/nfs/nlm/nlm_prot_impl.c Fri Apr 28 22:23:45 2023 +0000
+++ b/sys/fs/nfs/nlm/nlm_prot_impl.c Fri Apr 28 22:31:38 2023 +0000
@@ -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@localhost>
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index