X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcecloader.h;h=242d4fe52d9fb0cbe12cbfeeca6fa8af828d7e7b;hb=e9de9629478f63b357b69314d7935c6539c3ad71;hp=7ae8b4984f9d9ae825dc1dfffecc97273e2d7e8c;hpb=dfc63a477abf728b24cc8fad520a6e60d7c129cf;p=deb_libcec.git diff --git a/include/cecloader.h b/include/cecloader.h index 7ae8b49..242d4fe 100644 --- a/include/cecloader.h +++ b/include/cecloader.h @@ -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; }