From 7c7fa369186536adaf9ff35ec356525b5c5a8379 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 15 Jun 2013 22:19:52 +0200 Subject: sbtools,mkximboot: fix whitespace Change-Id: I8d8adb783707172d1aaef302366c240310350ed8 --- utils/imxtools/sbtools/sbtoelf.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'utils/imxtools/sbtools/sbtoelf.c') diff --git a/utils/imxtools/sbtools/sbtoelf.c b/utils/imxtools/sbtools/sbtoelf.c index e68f5e6e06..75dc58e4bd 100644 --- a/utils/imxtools/sbtools/sbtoelf.c +++ b/utils/imxtools/sbtools/sbtoelf.c @@ -86,10 +86,10 @@ static void extract_elf_section(struct elf_params_t *elf, int count, uint32_t id sprintf(filename, "%s%s.%d.elf", g_out_prefix, name, count); if(g_debug) printf("Write boot section %s to %s\n", name, filename); - + FILE *fd = fopen(filename, "wb"); free(filename); - + if(fd == NULL) return; if(g_elf_simplify) @@ -112,7 +112,7 @@ static void extract_sb_section(struct sb_section_t *sec) if(g_debug) printf("Write data section %s to %s\n", sec_name, filename); free(filename); - + for(int j = 0; j < sec->nr_insts; j++) { assert(sec->insts[j].inst == SB_INST_DATA); @@ -494,7 +494,7 @@ int main(int argc, char **argv) } if(loopback) sb1_write_file(file, loopback); - + sb1_free(file); } else @@ -504,6 +504,6 @@ int main(int argc, char **argv) return 1; } clear_keys(); - + return 0; } -- cgit v1.2.3