Skip to content

Commit 0ed7193

Browse files
committed
Improve "cannot find section" error message
Issue #66
1 parent 0ea5aff commit 0ed7193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patchelf.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ Elf_Shdr & ElfFile<ElfFileParamNames>::findSection(const SectionName & sectionNa
462462
{
463463
Elf_Shdr * shdr = findSection2(sectionName);
464464
if (!shdr)
465-
error("cannot find section " + sectionName);
465+
error("cannot find section '" + sectionName + "'");
466466
return *shdr;
467467
}
468468

0 commit comments

Comments
 (0)