Use %s to display strings correctly

This commit is contained in:
B͈̤̖̪̪̱ͅl̯̯̮̼͎̬͚̳̩̖̲u̜̼͉͈̠b͙̬̘̙̱̗̲͙b͍̞̬̬͓̼l̰̪͖̯̼̟̟͈̖͕̜̱̜ͅl̻̗͔̝̭̰͚͇̯̥ 2019-10-13 19:28:23 +02:00 committed by GitHub
parent cb94d18dd1
commit 2c3598aff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -67,18 +67,18 @@ int main(int argc, char** argv) {
//Inject our dll
if ( !FileExists(MODLOADER_DLL) ) {
printf("%dll not found.\n", MODLOADER_DLL);
printf("%s not found.\n", MODLOADER_DLL);
return Bail(1);
}
unsigned int loaderChecksum = crc32_file(MODLOADER_DLL);
if (loaderChecksum != MODLOADER_CRC && !testMode) {
printf("%dll is the wrong version (%08X)\n", MODLOADER_DLL, loaderChecksum);
printf("%s is the wrong version (%08X)\n", MODLOADER_DLL, loaderChecksum);
return Bail(1);
}
if (testMode) {
printf("%dll CRC: %08X\n", MODLOADER_DLL, loaderChecksum);
printf("%s CRC: %08X\n", MODLOADER_DLL, loaderChecksum);
}
Process process(CUBE_EXECUTABLE);