Use fputs instead of fprintf when no formatting is required

This commit is contained in:
Michael Hansen
2018-01-28 10:32:44 -08:00
parent 98ad031109
commit a9a362254e
6 changed files with 183 additions and 176 deletions

View File

@@ -161,7 +161,7 @@ void PycModule::loadFromFile(const char* filename)
}
setVersion(in.get32());
if (!isValid()) {
fprintf(stderr, "Bad MAGIC!\n");
fputs("Bad MAGIC!\n", stderr);
return;
}
in.get32(); // Timestamp -- who cares?