VirtualBox

Changeset 32616 in vbox


Ignore:
Timestamp:
Sep 17, 2010 4:11:57 PM (14 years ago)
Author:
vboxsync
Message:

VMMDev: return code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r32605 r32616  
    547547                if (pThis->fGuestCoreDumpEnabled)
    548548                {
    549                     PVM pVM = PDMDevHlpGetVM(pDevIns);
    550 
    551549                    /*
    552550                     * User makes sure the directory exists.
    553551                     */
    554552                    if (!RTDirExists(pThis->szGuestCoreDumpDir))
    555                         return VERR_FILE_NOT_FOUND;
     553                        return VERR_NOT_FOUND;
     554
    556555                    char szCorePath[RTPATH_MAX];
    557556                    RTStrCopy(szCorePath, sizeof(szCorePath), pThis->szGuestCoreDumpDir);
     
    580579                     * Write the core file.
    581580                     */
     581                    PVM pVM = PDMDevHlpGetVM(pDevIns);
    582582                    pRequestHeader->rc = DBGFR3CoreWrite(pVM, szCorePath);
    583583                }
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