aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2024-04-20 12:04:31 +0000
committerGordon Bergling <gbe@FreeBSD.org>2024-04-25 06:18:14 +0000
commit2e9bfb6a00717660e33ee828b451f258d2b2bb4a (patch)
tree4f93fa7ba95220df159b2a06b675c5c4aee55b6d
parent0cb97c19b1d22e28918b3ea9c6df57c43a2f3e5d (diff)
downloadsrc-2e9bfb6a00717660e33ee828b451f258d2b2bb4a.tar.gz
src-2e9bfb6a00717660e33ee828b451f258d2b2bb4a.zip
sys: Remove two double words in source code comments
- s/of of/of/ (cherry picked from commit cf5d9c41246c0583b28d5c1101c6f334e38a67e9)
-rw-r--r--sys/sys/link_elf.h2
-rw-r--r--sys/sys/types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index 8e41a670bec0..8b76f3fcdb43 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -63,7 +63,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 72889f3d5a93..0312e99cb0de 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -379,7 +379,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