[misc] fix non-English messages appearing in the log

This commit is contained in:
Pete Batard 2020-10-02 17:24:17 +01:00
parent e6ac3782fe
commit f4c7f2963c
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 22 additions and 9 deletions

View file

@ -446,7 +446,8 @@ BOOL FormatLargeFAT32(DWORD DriveIndex, uint64_t PartitionOffset, DWORD ClusterS
}
// Set the FAT32 volume label
PrintInfoDebug(0, MSG_221, lmprintf(MSG_307));
PrintInfo(0, MSG_221, lmprintf(MSG_307));
uprintf("Setting label...");
// Handle must be closed for SetVolumeLabel to work
safe_closehandle(hLogicalVolume);
VolumeName = GetLogicalName(DriveIndex, PartitionOffset, TRUE, TRUE);