summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-05-27 13:24:24 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-05-27 13:24:24 (GMT)
commit8f036ab190e1a2bcf45832f038bda3ff8b4e8275 (patch)
tree9d39d5d0b10c34415579ed641f8ad7fa88646b86
parentb105af71c241476dd2a8953cc96c0989d77af36d (diff)
downloadpatchelf-8f036ab190e1a2bcf45832f038bda3ff8b4e8275.zip
patchelf-8f036ab190e1a2bcf45832f038bda3ff8b4e8275.tar.gz
patchelf-8f036ab190e1a2bcf45832f038bda3ff8b4e8275.tar.bz2
* Typos.
-rw-r--r--src/patchelf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index d35ac87..104cb32 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -491,7 +491,7 @@ void ElfFile<ElfFileParamNames>::rewriteSections()
/* Right now we assume that the section headers are somewhere near
the end, which appears to be the case most of the time.
- Therefore its not accidentally overwritten by the replaced
+ Therefore they're not accidentally overwritten by the replaced
sections. !!! Fix this. */
assert((off_t) rdi(hdr->e_shoff) >= startOffset);
@@ -583,7 +583,7 @@ void ElfFile<ElfFileParamNames>::rewriteSections()
/* Rewrite the program header table. */
- /* If the is a segment for the program header table, update it.
+ /* If there is a segment for the program header table, update it.
(According to the ELF spec, it must be the first entry.) */
if (rdi(phdrs[0].p_type) == PT_PHDR) {
phdrs[0].p_offset = hdr->e_phoff;