VirtualBox

Changeset 18818 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 7, 2009 12:47:04 PM (16 years ago)
Author:
vboxsync
Message:

Main/Machine: fix returned error code if opening the vm config file doesn't work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r18785 r18818  
    74687468                    rc = hd->LockWrite (NULL);
    74697469                    AssertComRC (rc);
    7470                    
     7470
    74717471                    mData->mSession.mLockedMedia.push_back (
    74727472                        Data::Session::LockedMedia::value_type (
     
    75677567            mData->mHandleCfgFile = NIL_RTFILE;
    75687568
    7569             rc = setError (E_FAIL,
     7569            rc = setError (VBOX_E_FILE_ERROR,
    75707570                tr ("Could not lock the settings file '%ls' (%Rrc)"),
    75717571                mData->mConfigFileFull.raw(), vrc);
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