git: f8f020997976 - stable/12 - elf(3): Fix a typo in a sysctl description

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Fri, 03 Dec 2021 15:58:10 UTC
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=f8f020997976638bbc3d5570473911b153c88c6d

commit f8f020997976638bbc3d5570473911b153c88c6d
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-11-30 09:38:34 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-12-03 15:57:12 +0000

    elf(3): Fix a typo in a sysctl description
    
    - s/segement/segment/
    
    (cherry picked from commit c8ca80e22381e68f7cc23e8822f3ef5e6a68c3c0)
---
 usr.bin/gcore/elfcore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c
index 7f8de3fad77c..fb26e71c5d44 100644
--- a/usr.bin/gcore/elfcore.c
+++ b/usr.bin/gcore/elfcore.c
@@ -514,7 +514,7 @@ elf_puthdr(int efd, pid_t pid, struct map_entry *map, void *hdr, size_t hdrsize,
 	 */
 	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;