VirtualBox

Ignore:
Timestamp:
Mar 26, 2025 11:55:20 AM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168178
Message:

VBoxService/Shared Folders: Resolve ERROR_BAD_PROVIDER before calling RTErrConvertFromWin32() in vbsvcAutomounterMountIt(), to avoid assertions in debug builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r106061 r108753  
    14071407        return VINF_SUCCESS;
    14081408    }
    1409     VGSvcError("vbsvcAutomounterMountIt: Failed to attach '%s' to '%s': %Rrc (%u)\n",
    1410                pEntry->pszName, pEntry->pszActualMountPoint, RTErrConvertFromWin32(dwErr), dwErr);
     1409    else if (dwErr == ERROR_BAD_PROVIDER)
     1410        VGSvcError("vbsvcAutomounterMountIt: Failed to attach '%s' to '%s': VirtualBox Shared Folders provider not or " \
     1411                   "incorrectly installed, can't continue\n",
     1412                   pEntry->pszName, pEntry->pszActualMountPoint);
     1413    else
     1414        VGSvcError("vbsvcAutomounterMountIt: Failed to attach '%s' to '%s': %Rrc (%u)\n",
     1415                   pEntry->pszName, pEntry->pszActualMountPoint, RTErrConvertFromWin32(dwErr), dwErr);
    14111416    return VERR_OPEN_FAILED;
    14121417
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