VirtualBox

Changeset 15115 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 8, 2008 4:01:14 PM (16 years ago)
Author:
vboxsync
Message:

netsniffer: improved error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNetSniffer.cpp

    r14844 r15115  
    408408                    RTFILE_O_WRITE | RTFILE_O_CREATE_REPLACE | RTFILE_O_DENY_WRITE);
    409409    if (RT_FAILURE(rc))
    410     {
    411         AssertMsgFailed(("Failed to create file '%s' for writing. rc=%Rrc\n", pThis->szFilename, rc));
    412         return rc;
    413     }
     410        return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
     411                                   N_("Netsniffer cannot open '%s' for writing. The directory must exist and it must be writable for the current user"), pThis->szFilename);
    414412
    415413    /*
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