VirtualBox

Changeset 90187 in vbox


Ignore:
Timestamp:
Jul 14, 2021 3:42:43 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145706
Message:

Main/CHECK_CONSOLE_DRV: Add function name to give more of a context.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r89580 r90187  
    101101#define CHECK_CONSOLE_DRV(drv) \
    102102    do { \
    103         if (!(drv)) \
    104             return setError(E_ACCESSDENIED, tr("The console is not powered up")); \
     103        if (!!(drv)) {} \
     104        else return setError(E_ACCESSDENIED, tr("The console is not powered up (%Rfn)"), __FUNCTION__); \
    105105    } while (0)
    106106
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