cec: refactor CEC command handling. split up standard and non-standard CEC implementa...
[deb_libcec.git] / include / cecloader.h
index 7ae8b4984f9d9ae825dc1dfffecc97273e2d7e8c..242d4fe52d9fb0cbe12cbfeeca6fa8af828d7e7b 100644 (file)
@@ -84,9 +84,9 @@ CEC::ICECAdapter *LoadLibCec(const char *strName, CEC::cec_logical_address iLogi
     if (!g_libCEC)
     {
 #if defined(__APPLE__)
-      cout << "cannot find " << (strLib ? strLib : "libcec.dylib") << endl;
+      cout << "cannot find " << (strLib ? strLib : "libcec.dylib") << dlerror() << endl;
 #else
-      cout << "cannot find " << (strLib ? strLib : "libcec.so") << endl;
+      cout << "cannot find " << (strLib ? strLib : "libcec.so") << dlerror() << endl;
 #endif
       return NULL;
     }