diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-06 11:40:35 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-07 13:46:13 -0600 |
commit | b3d8d66330b301d55f93e1703e8eaca806655541 (patch) | |
tree | 98809ab9fd0f3de76700312607a3c13e10d2c8fd /nuttx/binfmt | |
parent | 622b83dce427ffc9c882b4497842d57eb79d2ea9 (diff) | |
download | px4-nuttx-b3d8d66330b301d55f93e1703e8eaca806655541.tar.gz px4-nuttx-b3d8d66330b301d55f93e1703e8eaca806655541.tar.bz2 px4-nuttx-b3d8d66330b301d55f93e1703e8eaca806655541.zip |
Fix typo in ELF variable name (only see it when C++ support is enabled)
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/libelf/libelf_ctors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/binfmt/libelf/libelf_ctors.c b/nuttx/binfmt/libelf/libelf_ctors.c index 89bd087c8..3c652a3a6 100644 --- a/nuttx/binfmt/libelf/libelf_ctors.c +++ b/nuttx/binfmt/libelf/libelf_ctors.c @@ -192,10 +192,10 @@ int elf_loadctors(FAR struct elf_loadinfo_s *loadinfo) FAR uintptr_t *ptr = (uintptr_t *)((FAR void *)(&loadinfo->ctors)[i]); bvdbg("ctor %d: %08lx + %08lx = %08lx\n", - i, *ptr, (unsigned long)loadinfo->txtalloc, - (unsigned long)(*ptr + loadinfo->txtalloc)); + i, *ptr, (unsigned long)loadinfo->textalloc, + (unsigned long)(*ptr + loadinfo->textalloc)); - *ptr += loadinfo->txtalloc; + *ptr += loadinfo->textalloc; } } else |