diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-03-30 19:12:22 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-03-31 11:34:27 -0400 |
commit | 8b561c0012546aabbaff33b32a79833997aa8902 (patch) | |
tree | 74e96397e922a7421bafbcbe07ceb78132a7af45 /sal/osl/unx/module.cxx | |
parent | 570b827e4cacae44987be39d0b381d2fd472f28a (diff) |
If you can't load a shared library it should be a warning
This has bitten me more than once when working on Library_merged.
Change-Id: I829f5d010b6df2935fd191bdec9bac04bb003f16
Diffstat (limited to 'sal/osl/unx/module.cxx')
-rw-r--r-- | sal/osl/unx/module.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/module.cxx b/sal/osl/unx/module.cxx index 9169768b4388..43ff2a4e3a75 100644 --- a/sal/osl/unx/module.cxx +++ b/sal/osl/unx/module.cxx @@ -160,7 +160,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_INFO_IF( + SAL_WARN_IF( pLib == 0, "sal.osl", "dlopen(" << pModuleName << ", " << rtld_mode << "): " << dlerror()); |