git: c8ca80e22381 - main - elf(3): Fix a typo in a sysctl description

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 30 Nov 2021 09:42:19 UTC
The branch main has been updated by gbe (doc committer):

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

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

    elf(3): Fix a typo in a sysctl description
    
    - s/segement/segment/
    
    MFC after:      3 days
---
 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;