VirtualBox

Ignore:
Timestamp:
Oct 15, 2007 3:22:28 PM (17 years ago)
Author:
vboxsync
Message:

Corrected disasm test

File:
1 edited

Legend:

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

    r4071 r5296  
    2121*******************************************************************************/
    2222#include <VBox/dis.h>
     23#include <VBox/err.h>
    2324#include <stdio.h>
    2425
     
    4546
    4647            cpu.mode = CPUMODE_32BIT;
    47             if (DISInstr(&cpu, pInstr, 0, &cb, szOutput))
     48            if (VBOX_SUCCESS(DISInstr(&cpu, pInstr, 0, &cb, szOutput)))
    4849                printf(szOutput);
    4950            else
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