VirtualBox

Changeset 96549 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Aug 30, 2022 12:55:51 AM (2 years ago)
Author:
vboxsync
Message:

IPRT: Fixes for tstRTErr-1.cpp after windows error info reduction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTErr-1.cpp

    r96407 r96549  
    302302
    303303            if (cchMsgAll == ~(size_t)0)
    304                 cchMsgAll = RTStrPrintf(szMsgAll, sizeof(szMsgAll), "%s (%#x) - %s", pszDefine, rc, szMsg);
     304                cchMsgAll = RTStrPrintf(szMsgAll, sizeof(szMsgAll), "%s (%#x)", pszDefine, rc);
    305305            memset(pszBuf, '?', cbBuf);
    306306            cchRet = RTStrPrintf2(pszBuf2, cbBuf2, "%Rwa", rc);
     
    352352            memset(pszBuf, '?', cbBuf);
    353353            cchRet = RTStrPrintf2(pszBuf2, cbBuf2, "%Rwf", rc);
    354             CHECK_TEST_RESULT2("RTErrWinFormatMsg/%Rwf", pszMsg, cchMsg);
     354            CHECK_TEST_RESULT2("RTErrWinFormatMsg/%Rwf", pszDefine, cchDefine);
    355355
    356356            memset(pszBuf, '?', cbBuf);
    357357            cchRet = RTStrPrintf2(pszBuf2, cbBuf2, "%Rhrf", rc);
    358             CHECK_TEST_RESULT2("RTErrWinFormatMsg/%Rhrf", pszMsg, cchMsg);
     358            CHECK_TEST_RESULT2("RTErrWinFormatMsg/%Rhrf", pszDefine, cchDefine);
    359359
    360360            memset(pszBuf, '?', cbBuf);
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