Date: Thu, 25 Apr 2024 06:18:24 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 2e9bfb6a0071 - stable/12 - sys: Remove two double words in source code comments Message-ID: <202404250618.43P6IOJX083983@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=2e9bfb6a00717660e33ee828b451f258d2b2bb4a commit 2e9bfb6a00717660e33ee828b451f258d2b2bb4a 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:18:14 +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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404250618.43P6IOJX083983>