mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 18:35:26 -04:00
[misc] fix issues with unpartitioned drives and bad blocks reports
* Listing an unpartitioned could result in all controls besides drive selection dropdown being blank * The bad blocks report was not displaying the right values * Also update version to Rufus next
This commit is contained in:
parent
027d0d7c3a
commit
b343d9b86d
8 changed files with 64 additions and 58 deletions
|
@ -1315,12 +1315,12 @@ DWORD WINAPI FormatThread(void* param)
|
|||
_unlink(logfile);
|
||||
goto out;
|
||||
}
|
||||
uprintf("Bad Blocks: Check completed, %u bad block%s found. (%d/%d/%d errors)\n",
|
||||
uprintf("Bad Blocks: Check completed, %d bad block%s found. (%d/%d/%d errors)\n",
|
||||
report.bb_count, (report.bb_count==1)?"":"s",
|
||||
report.num_read_errors, report.num_write_errors, report.num_corruption_errors);
|
||||
r = IDOK;
|
||||
if (report.bb_count) {
|
||||
bb_msg = lmprintf(MSG_011, report.num_read_errors, report.num_write_errors,
|
||||
bb_msg = lmprintf(MSG_011, report.bb_count, report.num_read_errors, report.num_write_errors,
|
||||
report.num_corruption_errors);
|
||||
fprintf(log_fd, bb_msg);
|
||||
GetLocalTime(<);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue