[nusresign] print-info.cpp: Open the TMD using "rb", not "rb+".

We don't need to write to the TMD here.
This commit is contained in:
David Korth 2024-05-17 22:29:46 -04:00
parent 3aaa8363a4
commit 86d340d407

View File

@ -465,7 +465,7 @@ int print_nus_info(const TCHAR *nus_dir, bool verify)
return -err;
}
FILE *f_tmd = _tfopen(sf_tmd.c_str(), _T("rb+"));
FILE *f_tmd = _tfopen(sf_tmd.c_str(), _T("rb"));
if (!f_tmd) {
fclose(f_tik);