Changeset 43876 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 15, 2012 1:44:09 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 82086
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r43233 r43876 547 547 RT_ZERO(aszOptionBuffer); 548 548 iOptLength += RTStrPrintf(aszOptionBuffer, 256 , "%s", pszOptName) + 1; 549 iOptLength += RTStrPrintf(aszOptionBuffer + iOptLength, 256 - iOptLength , "% u", u64OptValue) + 1;549 iOptLength += RTStrPrintf(aszOptionBuffer + iOptLength, 256 - iOptLength , "%llu", u64OptValue) + 1; 550 550 if (iOptLength > M_TRAILINGSPACE(pMBuf)) 551 551 rc = VERR_BUFFER_OVERFLOW; /* buffer too small */ -
trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp
r41414 r43876 892 892 && !g_fDhcpReply) 893 893 { 894 RTPrintf("tstIntNet-1: Error! The DHCP server didn't reply... (Perhaps you don't have one?)\n" , rc);894 RTPrintf("tstIntNet-1: Error! The DHCP server didn't reply... (Perhaps you don't have one?)\n"); 895 895 g_cErrors++; 896 896 } … … 899 899 && !g_fPingReply) 900 900 { 901 RTPrintf("tstIntNet-1: Error! No reply for ping request...\n" , rc);901 RTPrintf("tstIntNet-1: Error! No reply for ping request...\n"); 902 902 g_cErrors++; 903 903 } -
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r43320 r43876 973 973 RTStrCopy(szFilePathOld, sizeof(szFilePathOld), szCorePath); 974 974 else 975 RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.% d", szCorePath, i);975 RTStrPrintf(szFilePathOld, sizeof(szFilePathOld), "%s.%lld", szCorePath, i); 976 976 977 977 char szFilePathNew[RTPATH_MAX]; 978 RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.% d", szCorePath, i + 1);978 RTStrPrintf(szFilePathNew, sizeof(szFilePathNew), "%s.%lld", szCorePath, i + 1); 979 979 int vrc = RTFileMove(szFilePathOld, szFilePathNew, RTFILEMOVE_FLAGS_REPLACE); 980 980 if (vrc == VERR_FILE_NOT_FOUND) -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r43259 r43876 149 149 pszValueNm, 150 150 (ssize_t)cchValueNm - 12 > 48 ? 0 : 48 - ((ssize_t)cchValueNm - 12), "", 151 szValue, pszRegNm ));151 szValue, pszRegNm, pszWarn)); 152 152 else 153 153 #endif
Note:
See TracChangeset
for help on using the changeset viewer.