diff options
Diffstat (limited to 'extra/usb_updater')
-rw-r--r-- | extra/usb_updater/desc_parser.h | 2 | ||||
-rw-r--r-- | extra/usb_updater/gsctool.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/extra/usb_updater/desc_parser.h b/extra/usb_updater/desc_parser.h index faa80d1a63..76d8691b15 100644 --- a/extra/usb_updater/desc_parser.h +++ b/extra/usb_updater/desc_parser.h @@ -35,7 +35,7 @@ struct addr_range { * success, or OS error of error. In particular ENODATA is returned if the * section for the required board ID is not found in the file. */ -int parser_find_board(const char *hash_file_name, const char board_id[4]); +int parser_find_board(const char *hash_file_name, const char *board_id); /* * Find next range for the previousely defined board, parse it into the diff --git a/extra/usb_updater/gsctool.c b/extra/usb_updater/gsctool.c index e57e9ba196..64a7853d31 100644 --- a/extra/usb_updater/gsctool.c +++ b/extra/usb_updater/gsctool.c @@ -3507,8 +3507,9 @@ int main(int argc, char *argv[]) if (get_boot_mode) exit(process_get_boot_mode(&td)); - if (get_flog) - process_get_flog(&td, prev_log_entry, show_machine_output, is_dauntless); + if (get_flog) + process_get_flog(&td, prev_log_entry, + show_machine_output, is_dauntless); if (erase_ap_ro_hash) process_erase_ap_ro_hash(&td); |