Skip to content

Commit

Permalink
elfloader: don't shadow variable
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider authored and lsf37 committed Mar 21, 2023
1 parent 936fcd0 commit 2c213a9
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 @@ -555,7 +555,7 @@ int load_images(
* success and anything else is an error.
*/
uint64_t min_vaddr, max_vaddr;
int ret = elf_getMemoryBounds(user_elf, 0, &min_vaddr, &max_vaddr);
ret = elf_getMemoryBounds(user_elf, 0, &min_vaddr, &max_vaddr);
if (ret != 1) {
printf("ERROR: Could not get image bounds\n");
return -1;
Expand Down

0 comments on commit 2c213a9

Please sign in to comment.