diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-24 20:49:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-24 20:49:43 +0000 |
commit | 38add3698930bde72d1548097b95334f0be449f1 (patch) | |
tree | 2cf2631940b956446994f95a916d7e6b3fc6f229 /nuttx/binfmt/binfmt_loadmodule.c | |
parent | b18f5b7ee48b7df03fadd776282bfe45da88aaeb (diff) | |
download | nuttx-38add3698930bde72d1548097b95334f0be449f1.tar.gz nuttx-38add3698930bde72d1548097b95334f0be449f1.tar.bz2 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/binfmt_loadmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_loadmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/binfmt/binfmt_loadmodule.c b/nuttx/binfmt/binfmt_loadmodule.c index c251f0af7..bad6ca712 100644 --- a/nuttx/binfmt/binfmt_loadmodule.c +++ b/nuttx/binfmt/binfmt_loadmodule.c @@ -90,7 +90,7 @@ int load_module(FAR struct binary_s *bin) int ret; #ifdef CONFIG_DEBUG - if (!filename || !bin) + if (!bin || !bin->filename) { ret = -EINVAL; } |