virtfs: Log properly on handler load failure.

This commit is contained in:
Unknown W. Brackets
2016-08-06 20:04:50 -07:00
parent f101e2710c
commit 92cdb583aa

View File

@@ -831,6 +831,8 @@ VirtualDiscFileSystem::Handler::Handler(const char *filename, VirtualDiscFileSys
dlclose(library);
library = NULL;
}
} else {
ERROR_LOG(FILESYS, "Unable to load handler: %s", filename);
}
#ifdef _WIN32
#undef dlopen