VirtualBox

儲存庫 vbox 的更動 90187


忽略:
時間撮記:
2021-7-14 下午03:42:43 (4 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
145706
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette