From 1eb08738ba77fbc6a4ff2de506aeec1e921be9a2 Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 9 May 2014 10:47:11 +0200 Subject: [PATCH] Fix #904 - s/???/invalid/g --- libr/asm/p/asm_8051.c | 2 +- libr/core/cmd_print.c | 2 +- libr/core/disasm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libr/asm/p/asm_8051.c b/libr/asm/p/asm_8051.c index 38f9a45770..4efcf808d3 100644 --- a/libr/asm/p/asm_8051.c +++ b/libr/asm/p/asm_8051.c @@ -1,4 +1,4 @@ -/* radare2 - LGPL - Copyright 2013 - pancake */ +/* radare2 - LGPL - Copyright 2013-2014 - pancake */ #include #include diff --git a/libr/core/cmd_print.c b/libr/core/cmd_print.c index 03abbf95af..6dc77044a5 100644 --- a/libr/core/cmd_print.c +++ b/libr/core/cmd_print.c @@ -401,7 +401,7 @@ static int pdi(RCore *core, int l, int len, int ilen) { if (ret<1) ret = 1; if (show_bytes) r_cons_printf ("%14s%02x ", "", buf[i]); - r_cons_printf ("%s\n", "???"); + r_cons_printf ("%s\n", "invalid"); //???"); } else { if (show_bytes) r_cons_printf ("%16s ", asmop.buf_hex); diff --git a/libr/core/disasm.c b/libr/core/disasm.c index 36bd05e43e..090bf7143e 100644 --- a/libr/core/disasm.c +++ b/libr/core/disasm.c @@ -1800,7 +1800,7 @@ R_API int r_core_print_disasm_instructions (RCore *core, int len, int l) { if (ret<1) { err = 1; ret = 1; - r_cons_printf ("???\n"); + r_cons_printf ("invalid\n");//???\n"); } else { r_cons_printf ("%s\n", ds->opstr); free (ds->opstr);