VirtualBox

Ignore:
Timestamp:
Mar 10, 2009 2:23:16 PM (16 years ago)
Author:
vboxsync
Message:

never use printf without a format string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmTest.cpp

    r13835 r17629  
    5858            if (RT_SUCCESS(DISInstr(&cpu, pInstr, 0, &cb, szOutput)))
    5959            {
    60                 printf(szOutput);
     60                printf("%s", szOutput);
    6161            }
    6262            else
     
    8282            cpu.mode = CPUMODE_64BIT;
    8383            if (RT_SUCCESS(DISInstr(&cpu, pInstr, 0, &cb, szOutput)))
    84                 printf(szOutput);
     84                printf("%s", szOutput);
    8585            else
    8686            {
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