mirror of
https://github.com/apache/nuttx.git
synced 2026-08-30 21:53:06 +00:00
Merge branch 'master' of bitbucket.org:nuttx/nuttx
This commit is contained in:
commit
8a6871b215
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ static int elf_symname(FAR struct elf_loadinfo_s *loadinfo,
|
|||
/* Read that number of bytes into the array */
|
||||
|
||||
buffer = &loadinfo->iobuffer[bytesread];
|
||||
ret = elf_read(loadinfo, buffer, readlen, offset);
|
||||
ret = elf_read(loadinfo, buffer, readlen, offset + bytesread);
|
||||
if (ret < 0)
|
||||
{
|
||||
berr("elf_read failed: %d\n", ret);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue