summaryrefslogtreecommitdiff
path: root/nuttx/binfmt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-12 12:53:19 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-12 12:53:19 -0600
commit5fbbc21f13770cc35c3e61e3109c125d03f172eb (patch)
tree1c1278108c7fe21ea7534a274a6994ae4ed2b6cc /nuttx/binfmt
parent387c4ace106479e457033b1717051ec55b8d673e (diff)
downloadnuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.gz
nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.bz2
nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.zip
Make sure that there is one space between if and condition
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r--nuttx/binfmt/libelf/libelf_sections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/binfmt/libelf/libelf_sections.c b/nuttx/binfmt/libelf/libelf_sections.c
index 236d7e9c8..c6b9de286 100644
--- a/nuttx/binfmt/libelf/libelf_sections.c
+++ b/nuttx/binfmt/libelf/libelf_sections.c
@@ -203,7 +203,7 @@ int elf_loadshdrs(FAR struct elf_loadinfo_s *loadinfo)
/* Get the total size of the section header table */
shdrsize = (size_t)loadinfo->ehdr.e_shentsize * (size_t)loadinfo->ehdr.e_shnum;
- if(loadinfo->ehdr.e_shoff + shdrsize > loadinfo->filelen)
+ if (loadinfo->ehdr.e_shoff + shdrsize > loadinfo->filelen)
{
bdbg("Insufficent space in file for section header table\n");
return -ESPIPE;