diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-03 12:09:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-03 19:39:22 +0100 |
commit | 0cf64cf29c43ae60c91dab53b99045986cd79038 (patch) | |
tree | e07c3778f8437418c1f2ca9731576ce9713db4b1 /sal/osl | |
parent | 00262b08984fb2fb91b760d588851bd47ae4d3ac (diff) |
SAL_INFO_IF -> SAL_WARN_IF
this is a very very useful warning when libraries fail to load
Change-Id: I09bf64f6c65f285d6ab41f988b255a4842233428
Reviewed-on: https://gerrit.libreoffice.org/84314
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/osl')
-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 571770248c1c..a10fa851a9fc 100644 --- a/sal/osl/unx/module.cxx +++ b/sal/osl/unx/module.cxx @@ -156,7 +156,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 == nullptr, "sal.osl", "dlopen(" << pModuleName << ", " << rtld_mode << "): " << dlerror()); |