git: fcece3a9f5d7 - stable/13 - elf(3): Fix a typo in a sysctl description

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

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

commit fcece3a9f5d74fbb10f11186308e12887e8bc594
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:52:02 +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 d936aa023e79..9c5be76cfd7c 100644
--- a/usr.bin/gcore/elfcore.c
+++ b/usr.bin/gcore/elfcore.c
@@ -516,7 +516,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;