From 0ed719370f04c1ed803b5ee338b72155eb142a6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 3 May 2016 13:20:58 +0200 Subject: Improve "cannot find section" error message Issue #66 --- src/patchelf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::findSection(const SectionName & sectionNa { Elf_Shdr * shdr = findSection2(sectionName); if (!shdr) - error("cannot find section " + sectionName); + error("cannot find section '" + sectionName + "'"); return *shdr; } -- cgit v0.12