elf-core: correct "no sections" to "no segments."

The error reported here is that there are no phdr entries, so it's
referring to segments, not sections.

llvm-svn: 230227
This commit is contained in:
Ed Maste 2015-02-23 15:28:42 +00:00
parent f488e2ae69
commit aec140380f
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ ProcessElfCore::DoLoadCore ()
const uint32_t num_segments = core->GetProgramHeaderCount();
if (num_segments == 0)
{
error.SetErrorString ("core file has no sections");
error.SetErrorString ("core file has no segments");
return error;
}