summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-03 11:20:58 (GMT)
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-03 11:20:58 (GMT)
commit0ed719370f04c1ed803b5ee338b72155eb142a6d (patch)
tree1acd79bd56f7edaf0753c920735a100fac790051
parent0ea5aff2edf59da4bcd5287f6268dac75c340959 (diff)
downloadpatchelf-0ed719370f04c1ed803b5ee338b72155eb142a6d.zip
patchelf-0ed719370f04c1ed803b5ee338b72155eb142a6d.tar.gz
patchelf-0ed719370f04c1ed803b5ee338b72155eb142a6d.tar.bz2
Improve "cannot find section" error message
Issue #66
-rw-r--r--src/patchelf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index 6c53e85..e831529 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -462,7 +462,7 @@ Elf_Shdr & ElfFile<ElfFileParamNames>::findSection(const SectionName & sectionNa
{
Elf_Shdr * shdr = findSection2(sectionName);
if (!shdr)
- error("cannot find section " + sectionName);
+ error("cannot find section '" + sectionName + "'");
return *shdr;
}