summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/libnxflat/libnxflat_bind.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-24 20:49:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-24 20:49:43 +0000
commit38add3698930bde72d1548097b95334f0be449f1 (patch)
tree2cf2631940b956446994f95a916d7e6b3fc6f229 /nuttx/binfmt/libnxflat/libnxflat_bind.c
parentb18f5b7ee48b7df03fadd776282bfe45da88aaeb (diff)
downloadpx4-nuttx-38add3698930bde72d1548097b95334f0be449f1.tar.gz
px4-nuttx-38add3698930bde72d1548097b95334f0be449f1.tar.bz2
px4-nuttx-38add3698930bde72d1548097b95334f0be449f1.zip
Fix DEBUG-on compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1940 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/libnxflat/libnxflat_bind.c')
-rw-r--r--nuttx/binfmt/libnxflat/libnxflat_bind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/binfmt/libnxflat/libnxflat_bind.c b/nuttx/binfmt/libnxflat/libnxflat_bind.c
index 2afb92f12..86d9f9a20 100644
--- a/nuttx/binfmt/libnxflat/libnxflat_bind.c
+++ b/nuttx/binfmt/libnxflat/libnxflat_bind.c
@@ -343,7 +343,7 @@ static inline int nxflat_bindimports(FAR struct nxflat_loadinfo_s *loadinfo,
{
/* It does.. make sure that exported symbols are provided */
- DEBUGASSERT(symtab && nexports > 0);
+ DEBUGASSERT(exports && nexports > 0);
/* If non-zero, the value of the imported symbol list that we get
* from the header is a file offset. We will have to convert this
@@ -393,7 +393,7 @@ static inline int nxflat_bindimports(FAR struct nxflat_loadinfo_s *loadinfo,
imports[i].i_funcaddress = (uint32)symbol->sym_value;
bvdbg("Bound imported function '%s' to address %08x\n",
- symname, imports[i].function_address);
+ symname, imports[i].i_funcaddress);
}
}