VirtualBox

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


Ignore:
Timestamp:
Jun 26, 2020 3:39:06 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138853
Message:

Guest Control/GuestSessionImplTasks: Logging nits.

File:
1 edited

Legend:

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

    r84872 r84975  
    12811281                                                rc = VERR_NOT_SUPPORTED;
    12821282                                        }
    1283                                        else
    1284                                            LogFlowFunc(("Unable to query symlink info for '%s', rc=%Rrc\n", szPathReal, rc));
     1283                                        else
     1284                                            LogFlowFunc(("Unable to query symlink info for '%s', rc=%Rrc\n", szPathReal, rc));
    12851285                                    }
    12861286                                    else
     
    16791679    if (mDest.isEmpty())
    16801680    {
    1681         strErrorInfo = Utf8StrFmt(GuestSession::tr("Destination must not be empty"));
     1681        strErrorInfo = Utf8StrFmt(GuestSession::tr("Guest destination must not be empty"));
    16821682        rc = VERR_INVALID_PARAMETER;
    16831683    }
     
    16901690            Utf8Str strDst = mDest;
    16911691
    1692             LogFlowFunc(("Source: strSrc=%s, strDst=%s\n", strSrc.c_str(), strDst.c_str()));
     1692            LogFlowFunc(("strSrc=%s, strDst=%s\n", strSrc.c_str(), strDst.c_str()));
    16931693
    16941694            if (strSrc.isEmpty())
    16951695            {
    1696                 strErrorInfo = Utf8StrFmt(GuestSession::tr("Source entry must not be empty"));
     1696                strErrorInfo = Utf8StrFmt(GuestSession::tr("Host source entry must not be empty"));
    16971697                rc = VERR_INVALID_PARAMETER;
    16981698                break;
     
    17031703            if (RT_FAILURE(rc))
    17041704            {
    1705                 strErrorInfo = Utf8StrFmt(GuestSession::tr("No such source file/directory: %s"), strSrc.c_str());
     1705                strErrorInfo = Utf8StrFmt(GuestSession::tr("No such host file/directory: %s"), strSrc.c_str());
    17061706                break;
    17071707            }
     
    17111711                if (itSrc->enmType != FsObjType_Directory)
    17121712                {
    1713                     strErrorInfo = Utf8StrFmt(GuestSession::tr("Source is not a file: %s"), strSrc.c_str());
     1713                    strErrorInfo = Utf8StrFmt(GuestSession::tr("Host source is not a file: %s"), strSrc.c_str());
    17141714                    rc = VERR_NOT_A_FILE;
    17151715                    break;
     
    17201720                if (itSrc->enmType == FsObjType_Directory)
    17211721                {
    1722                     strErrorInfo = Utf8StrFmt(GuestSession::tr("Source is not a directory: %s"), strSrc.c_str());
     1722                    strErrorInfo = Utf8StrFmt(GuestSession::tr("Host source is not a directory: %s"), strSrc.c_str());
    17231723                    rc = VERR_NOT_A_DIRECTORY;
    17241724                    break;
     
    17441744                {
    17451745                    delete pFsList;
    1746                     strErrorInfo = Utf8StrFmt(GuestSession::tr("Error adding source '%s' to list: %Rrc"), strSrc.c_str(), rc);
     1746                    strErrorInfo = Utf8StrFmt(GuestSession::tr("Error adding host source '%s' to list: %Rrc"),
     1747                                              strSrc.c_str(), rc);
    17471748                    break;
    17481749                }
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