Skip to content

Commit

Permalink
Fixed wrong argv reference in the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bootsector committed Apr 21, 2018
1 parent 8ec9451 commit 4ce9a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int main(int argc, char **argv) {

firmware_file = fopen(argv[1], "rb");
if(!firmware_file) {
printf("Error opening firmware file: %s\n", argv[2]);
printf("Error opening firmware file: %s\n", argv[1]);
error = 1;
goto exit;
}
Expand Down

0 comments on commit 4ce9a91

Please sign in to comment.