Use correct format, fix build warnings

This commit is contained in:
Isaac Connor committed 2022-08-26 09:54:05 -04:00
1 parent 7ab61ddce2
commit 35c55a79e0
1 file changed
+1 -1
+1 -1
View File
@@ -387,7 +387,7 @@ void Logger::openFile() {
if (mLogFile.size()) {
if ( (mLogFileFP = fopen(mLogFile.c_str(), "a")) == nullptr ) {
mFileLevel = NOLOG;
Error("fopen() for %s %d, error = %s", mLogFile.c_str(), mLogFile.size(), strerror(errno));
Error("fopen() for %s %zu, error = %s", mLogFile.c_str(), mLogFile.size(), strerror(errno));
}
} else {
puts("Called Logger::openFile() without a filename");