fixed typo (reported by Michael Zeilfelder)

metadata
Wenzel Jakob 2013-11-29 15:40:15 +01:00
parent 88be826331
commit 4ccee2340a
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ MemoryMappedFile::~MemoryMappedFile() {
if (retval != 0)
Log(EWarn, "munmap(): unable to unmap memory!");
#elif defined(WIN32)
if (!UnmapViewOfFile(d->data) {
if (!UnmapViewOfFile(d->data)) {
Log(EWarn, "UnmapViewOfFile(): unable to unmap memory: %s", lastErrorText().c_str());
return;
}