From 39c95050ab1e08d40a5b1a3c8d17ebb447db8804 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 11:40:35 -0600 Subject: [PATCH] Fix typo in ELF variable name (only see it when C++ support is enabled) --- binfmt/libelf/libelf_ctors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/binfmt/libelf/libelf_ctors.c b/binfmt/libelf/libelf_ctors.c index 89bd087c8c..3c652a3a64 100644 --- a/binfmt/libelf/libelf_ctors.c +++ b/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