Skip to content

Commit

Permalink
fix two typos (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyandreev authored May 2, 2024
1 parent 7d36d27 commit cfa8c3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/htool.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static int command_authz_record_build(const struct htool_invocation* inv) {
}
if (nonce_resp.ro_supported_key_id == 0) {
fprintf(stderr,
"ro_supported_key_id = 0. Please reset the chip nad retry\n");
"ro_supported_key_id = 0. Please reset the chip and retry\n");
return -1;
}
if (nonce_resp.ro_supported_key_id != nonce_resp.rw_supported_key_id) {
Expand Down Expand Up @@ -369,7 +369,7 @@ static int command_spi_update(const struct htool_invocation* inv) {
goto cleanup1;
}
if (statbuf.st_size > SIZE_MAX) {
fprintf(stderr, "file to large\n");
fprintf(stderr, "file too large\n");
goto cleanup1;
}
size_t file_size = statbuf.st_size;
Expand Down

0 comments on commit cfa8c3a

Please sign in to comment.