improved hook lib load fail error a little

This commit is contained in:
Nick Bolton 2012-07-04 23:25:25 +00:00
parent 417abb99fe
commit a8ce3418fe
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ CMSWindowsHookLibraryLoader::openHookLibrary(const char* name)
// load the hook library // load the hook library
HINSTANCE hookLibrary = LoadLibrary(name); HINSTANCE hookLibrary = LoadLibrary(name);
if (hookLibrary == NULL) { if (hookLibrary == NULL) {
LOG((CLOG_ERR "failed to load hook library, %s.dll is missing", name)); LOG((CLOG_ERR "failed to load hook library, %s.dll is missing or invalid", name));
throw XScreenOpenFailure(); throw XScreenOpenFailure();
} }