[Libreoffice-commits] core.git: sal/osl

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 3 18:40:49 UTC 2019


 sal/osl/unx/module.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0cf64cf29c43ae60c91dab53b99045986cd79038
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 3 12:09:28 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Dec 3 19:39:22 2019 +0100

    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 at collabora.co.uk>

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());


More information about the Libreoffice-commits mailing list