VirtualBox

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


Ignore:
Timestamp:
Nov 15, 2012 1:44:09 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82086
Message:

fixed a few format specifier bugs

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/tftp.c

    r43233 r43876  
    547547    RT_ZERO(aszOptionBuffer);
    548548    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;
    550550    if (iOptLength > M_TRAILINGSPACE(pMBuf))
    551551        rc = VERR_BUFFER_OVERFLOW; /* buffer too small */
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r41414 r43876  
    892892                            && !g_fDhcpReply)
    893893                        {
    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");
    895895                            g_cErrors++;
    896896                        }
     
    899899                            && !g_fPingReply)
    900900                        {
    901                             RTPrintf("tstIntNet-1: Error! No reply for ping request...\n", rc);
     901                            RTPrintf("tstIntNet-1: Error! No reply for ping request...\n");
    902902                            g_cErrors++;
    903903                        }
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