diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 12:53:19 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-12 12:53:19 -0600 |
commit | 5fbbc21f13770cc35c3e61e3109c125d03f172eb (patch) | |
tree | 1c1278108c7fe21ea7534a274a6994ae4ed2b6cc /nuttx/binfmt/libelf | |
parent | 387c4ace106479e457033b1717051ec55b8d673e (diff) | |
download | px4-nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.gz px4-nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.tar.bz2 px4-nuttx-5fbbc21f13770cc35c3e61e3109c125d03f172eb.zip |
Make sure that there is one space between if and condition
Diffstat (limited to 'nuttx/binfmt/libelf')
-rw-r--r-- | nuttx/binfmt/libelf/libelf_sections.c | 2 |
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; |