git: ce775a889af2 - stable/13 - sys: Remove two double words in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Apr 2024 06:17:47 UTC
The branch stable/13 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=ce775a889af2017c3119a364608030076ff9621e
commit ce775a889af2017c3119a364608030076ff9621e
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-20 12:04:31 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-25 06:17:28 +0000
sys: Remove two double words in source code comments
- s/of of/of/
(cherry picked from commit cf5d9c41246c0583b28d5c1101c6f334e38a67e9)
---
sys/sys/link_elf.h | 2 +-
sys/sys/types.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index a4be4180d55d..2d4bb6b65edc 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -61,7 +61,7 @@ typedef struct link_map {
#endif
const char *l_name; /* Absolute Path to Library */
const void *l_ld; /* Pointer to .dynamic in memory */
- struct link_map *l_next, *l_prev; /* linked list of of mapped libs */
+ struct link_map *l_next, *l_prev; /* linked list of mapped libs */
caddr_t l_addr; /* Load Offset of library */
const char *l_refname; /* object we are filtering for */
} Link_map;
diff --git a/sys/sys/types.h b/sys/sys/types.h
index d2337cd32c45..a30a08224354 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -378,7 +378,7 @@ __bitcount64(__uint64_t _x)
* The major and minor numbers are encoded in dev_t as MMMmmmMm (where
* letters correspond to bytes). The encoding of the lower 4 bytes is
* constrained by compatibility with 16-bit and 32-bit dev_t's. The
- * encoding of of the upper 4 bytes is the least unnatural one consistent
+ * encoding of the upper 4 bytes is the least unnatural one consistent
* with this and other constraints. Also, the decoding of the m bytes by
* minor() is unnatural to maximize compatibility subject to not discarding
* bits. The upper m byte is shifted into the position of the lower M byte