VirtualBox

Changeset 99691 in vbox for trunk/src/VBox/GuestHost


Ignore:
Timestamp:
May 9, 2023 9:05:00 AM (23 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157239
Message:

Guest Additions/VBoxClient: Increased logging verbosity for testboxes. bugref:10427

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DisplayServerType.cpp

    r99689 r99691  
    7474 * @param   cLibs               Number of library names in \a apszLibs.
    7575 * @param   phLdrMod            Where to return the library handle on success.
     76 *
     77 * @note    Will print loading statuses to verbose release log.
    7678 */
    7779static int vbghDisplayServerTryLoadLib(const char **apszLibs, size_t cLibs, PRTLDRMOD phLdrMod)
     
    7981    for (size_t i = 0; i < cLibs; i++)
    8082    {
    81         int rc2 = RTLdrLoadSystem(apszLibs[i], /* fNoUnload = */ true, phLdrMod);
     83        const char *pszLib = apszLibs[i];
     84        int rc2 = RTLdrLoadSystem(pszLib, /* fNoUnload = */ true, phLdrMod);
    8285        if (RT_SUCCESS(rc2))
     86        {
     87            LogRel2(("Loaded display server system library '%s'\n", pszLib));
    8388            return VINF_SUCCESS;
     89        }
     90        else
     91            LogRel2(("Unable to load display server system library '%s': %Rrc\n", pszLib, rc2));
    8492    }
    8593
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette