summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-10 14:15:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-10 14:21:34 +0200
commitfa6c211a454fa51feb36f7e4dae966c31bef432e (patch)
tree48642413f37c6ba0f1889372a23cb68992c4d1f3 /sal/osl
parenta41c2e16f6b8a402cf228aa25d790dee53f3f666 (diff)
Revert "If you can't load a shared library it should be a warning"
This reverts commit 8b561c0012546aabbaff33b32a79833997aa8902. There are legitimate cases for osl_loadModule to fail (like when UNO only resorts to indirect bridging via binary UNO once it has not found a direct bridge implementation), so this adds too much noise. (Rather add SAL_WARNs to those places up the call stack where it is known to be an error, and/or enable +INFO.sal.osl.)
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/module.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/module.cxx b/sal/osl/unx/module.cxx
index ebeceb62b139..cc615bff7089 100644
--- a/sal/osl/unx/module.cxx
+++ b/sal/osl/unx/module.cxx
@@ -162,7 +162,7 @@ oslModule SAL_CALL osl_loadModuleAscii(const sal_Char *pModuleName, sal_Int32 nR
((nRtldMode & SAL_LOADMODULE_GLOBAL) ? RTLD_GLOBAL : RTLD_LOCAL);
void* pLib = dlopen(pModuleName, rtld_mode);
- SAL_WARN_IF(
+ SAL_INFO_IF(
pLib == 0, "sal.osl",
"dlopen(" << pModuleName << ", " << rtld_mode << "): "
<< dlerror());