summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
committergjb <gjb@FreeBSD.org>2012-05-11 20:06:46 +0000
commit8670397617a81b2ecea7375cbd0af3c77821459b (patch)
tree0b28f0bebde32579d2780e773f4990dfb45d3f30 /lib/libelf
parent39c22309ed9c2ffe7c028062bc1cb57b20ec6945 (diff)
downloadFreeBSD-src-8670397617a81b2ecea7375cbd0af3c77821459b.zip
FreeBSD-src-8670397617a81b2ecea7375cbd0af3c77821459b.tar.gz
General mdoc(7) and typo fixes.
PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/elf_getdata.32
-rw-r--r--lib/libelf/elf_strptr.32
-rw-r--r--lib/libelf/gelf_getphdr.32
-rw-r--r--lib/libelf/gelf_newehdr.33
4 files changed, 5 insertions, 4 deletions
diff --git a/lib/libelf/elf_getdata.3 b/lib/libelf/elf_getdata.3
index 9416a2c..97766d8 100644
--- a/lib/libelf/elf_getdata.3
+++ b/lib/libelf/elf_getdata.3
@@ -144,7 +144,7 @@ structures of type
.Dv ELF_T_BYTE .
.Ss Special handling of zero-sized and SHT_NOBITS sections
For sections of type
-.Dv SHT_NOBITS,
+.Dv SHT_NOBITS ,
and for zero-sized sections,
the functions
.Fn elf_getdata
diff --git a/lib/libelf/elf_strptr.3 b/lib/libelf/elf_strptr.3
index d672388..d2282df 100644
--- a/lib/libelf/elf_strptr.3
+++ b/lib/libelf/elf_strptr.3
@@ -64,7 +64,7 @@ encountered.
.It Bq Er ELF_E_ARGUMENT
Argument
.Ar elf
-was NULL
+was NULL.
.It Bq Er ELF_E_ARGUMENT
Argument
.Ar elf
diff --git a/lib/libelf/gelf_getphdr.3 b/lib/libelf/gelf_getphdr.3
index 53fab17..13c588f 100644
--- a/lib/libelf/gelf_getphdr.3
+++ b/lib/libelf/gelf_getphdr.3
@@ -66,7 +66,7 @@ Function
will retrieve the program header table entry at index
.Ar index
from ELF descriptor
-.Ar elf.
+.Ar elf .
The translated program header table entry will be written to the
address pointed to be argument
.Ar dst .
diff --git a/lib/libelf/gelf_newehdr.3 b/lib/libelf/gelf_newehdr.3
index 6a2edf8..4dab647 100644
--- a/lib/libelf/gelf_newehdr.3
+++ b/lib/libelf/gelf_newehdr.3
@@ -58,7 +58,8 @@ structure.
Function
.Fn elf64_newehdr
returns a pointer to a 64 bit
-.Vt Elf64_Ehdr structure.
+.Vt Elf64_Ehdr
+structure.
.Pp
When argument
.Ar elfclass
OpenPOWER on IntegriCloud