Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 15:58:10 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f8f020997976 - stable/12 - elf(3): Fix a typo in a sysctl description
Message-ID:  <202112031558.1B3FwATH063255@gitrepo.freebsd.org>

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



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