Changeset 99691 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- May 9, 2023 9:05:00 AM (23 months ago)
- svn:sync-xref-src-repo-rev:
- 157239
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DisplayServerType.cpp
r99689 r99691 74 74 * @param cLibs Number of library names in \a apszLibs. 75 75 * @param phLdrMod Where to return the library handle on success. 76 * 77 * @note Will print loading statuses to verbose release log. 76 78 */ 77 79 static int vbghDisplayServerTryLoadLib(const char **apszLibs, size_t cLibs, PRTLDRMOD phLdrMod) … … 79 81 for (size_t i = 0; i < cLibs; i++) 80 82 { 81 int rc2 = RTLdrLoadSystem(apszLibs[i], /* fNoUnload = */ true, phLdrMod); 83 const char *pszLib = apszLibs[i]; 84 int rc2 = RTLdrLoadSystem(pszLib, /* fNoUnload = */ true, phLdrMod); 82 85 if (RT_SUCCESS(rc2)) 86 { 87 LogRel2(("Loaded display server system library '%s'\n", pszLib)); 83 88 return VINF_SUCCESS; 89 } 90 else 91 LogRel2(("Unable to load display server system library '%s': %Rrc\n", pszLib, rc2)); 84 92 } 85 93
Note:
See TracChangeset
for help on using the changeset viewer.