summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/processor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/processor.c b/src/arch/processor.c
index 71cdfba..d367949 100644
--- a/src/arch/processor.c
+++ b/src/arch/processor.c
@@ -65,14 +65,14 @@ asm_instr *decode_instruction(const asm_processor *proc, const uint8_t *data, of
result = proc->fetch_instr(proc, data, pos, len, offset);
-#define NULL ((void *)0)
+#define NULL ((void *)0) /* FIXME */
if (result == NULL)
{
*pos = old_pos;
- printf("err while decoding opcode 0x%0hhx at 0x%08llx\n", data[*pos], offset);
+ printf("err while decoding opcode 0x%02hhx at 0x%08llx\n", data[*pos], offset);
result = create_db_instruction(data, pos, len);
}