Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2021 09:42:19 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c8ca80e22381 - main - elf(3): Fix a typo in a sysctl description
Message-ID:  <202111300942.1AU9gJoI006779@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111300942.1AU9gJoI006779>