Skip to content

Commit

Permalink
elfloader: use loop variable as index
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <axelheider@gmx.de>
  • Loading branch information
axel-h committed Aug 9, 2024
1 parent fd0a5ec commit d3babc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elfloader-tool/src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ int load_images(
"app.bin", // hash file
next_phys_addr,
1, // keep ELF headers
&user_info[*num_images],
&user_info[i],
&next_phys_addr);
if (0 != ret) {
printf("ERROR: Could not load user image ELF\n");
Expand Down

0 comments on commit d3babc9

Please sign in to comment.