git: f87ab066722f - main - kern: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Feb 2026 12:02:57 UTC
The branch main has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=f87ab066722f3ffb19885ed501a7a136355340a2
commit f87ab066722f3ffb19885ed501a7a136355340a2
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2026-02-08 11:59:37 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2026-02-08 11:59:37 +0000
kern: Fix a typo in a source code comment
- s/segement/segment/
MFC after: 3 days
---
sys/kern/imgact_elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index f1d848e95f18..7410efca4807 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -1986,7 +1986,7 @@ __elfN(puthdr)(struct thread *td, void *hdr, size_t hdrsize, int numsegs,
*/
phdr = (Elf_Phdr *)((char *)hdr + ehdr->e_phoff);
- /* The note segement. */
+ /* The note segment. */
phdr->p_type = PT_NOTE;
phdr->p_offset = hdrsize;
phdr->p_vaddr = 0;