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 <[email protected]>
  • Loading branch information
axel-h committed Mar 22, 2024
1 parent 8c660fd commit 756b83f
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 756b83f

Please sign in to comment.