binfmt: Fix a debug statement that does not have the correct number of arguments. From Leo aloe3132

This commit is contained in:
Gregory Nutt 2015-04-30 14:31:04 -06:00
parent 698f71a176
commit 916ccc78bb

View file

@ -222,7 +222,7 @@ static int elf_relocate(FAR struct elf_loadinfo_s *loadinfo, int relidx,
ret = up_relocate(&rel, psym, addr);
if (ret < 0)
{
bdbg("ERROR: Section %d reloc %d: Relocation failed: %d\n", ret);
bdbg("ERROR: Section %d reloc %d: Relocation failed: %d\n", relidx, i, ret);
return ret;
}
}