VirtualBox

Changeset 43876 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Nov 15, 2012 1:44:09 PM (12 years ago)
Author:
vboxsync
Message:

fixed a few format specifier bugs

Location:
trunk/src/VBox/Devices/VMMDev
Files:
2 edited

Legend:

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

    r43320 r43876  
    973973                                RTStrCopy(szFilePathOld, sizeof(szFilePathOld), szCorePath);
    974974                            else
    975                                 RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.%d", szCorePath, i);
     975                                RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.%lld", szCorePath, i);
    976976
    977977                            char szFilePathNew[RTPATH_MAX];
    978                             RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.%d", szCorePath, i + 1);
     978                            RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.%lld", szCorePath, i + 1);
    979979                            int vrc = RTFileMove(szFilePathOld, szFilePathNew, RTFILEMOVE_FLAGS_REPLACE);
    980980                            if (vrc == VERR_FILE_NOT_FOUND)
  • trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp

    r43259 r43876  
    149149                                       pszValueNm,
    150150                                       (ssize_t)cchValueNm - 12 > 48 ? 0 : 48 - ((ssize_t)cchValueNm - 12), "",
    151                                        szValue, pszRegNm));
     151                                       szValue, pszRegNm, pszWarn));
    152152            else
    153153#endif
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