summaryrefslogtreecommitdiff
path: root/utils/sbtools/sbtoelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/sbtools/sbtoelf.c')
-rw-r--r--utils/sbtools/sbtoelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sbtools/sbtoelf.c b/utils/sbtools/sbtoelf.c
index 3eb168ddd1..3a3d9a7bb7 100644
--- a/utils/sbtools/sbtoelf.c
+++ b/utils/sbtools/sbtoelf.c
@@ -183,7 +183,7 @@ static void extract_elf_section(struct elf_params_t *elf, int count, const char
183 183
184 if(fd == NULL) 184 if(fd == NULL)
185 return ; 185 return ;
186 elf_output(elf, elf_write, fd); 186 elf_write_file(elf, elf_write, fd);
187 fclose(fd); 187 fclose(fd);
188} 188}
189 189