VirtualBox

Changeset 71177 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Mar 2, 2018 1:34:08 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control/GuestProcessImpl: Unified VERR_FILE_NOT_FOUND and VERR_PATH_NOT_FOUND guest errors in i_guestErrorToString().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r71176 r71177  
    503503    {
    504504        case VERR_FILE_NOT_FOUND: /* This is the most likely error. */
    505             strError += Utf8StrFmt(tr("The specified file was not found on guest"));
     505            RT_FALL_THROUGH();
     506        case VERR_PATH_NOT_FOUND:
     507            strError += Utf8StrFmt(tr("No such file or directory on guest"));
    506508            break;
    507509
     
    512514        case VERR_HGCM_SERVICE_NOT_FOUND:
    513515            strError += Utf8StrFmt(tr("The guest execution service is not available"));
    514             break;
    515 
    516         case VERR_PATH_NOT_FOUND:
    517             strError += Utf8StrFmt(tr("Could not resolve path to specified file was not found on guest"));
    518516            break;
    519517
Note: See TracChangeset for help on using the changeset viewer.

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