mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 16:28:31 -04:00
Use correct format, fix build warnings
This commit is contained in:
1 parent
7ab61ddce2
commit
35c55a79e0
1 file changed
+1
-1
+1
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user