diff --git a/libr/anal/p/anal_ppc_cs.c b/libr/anal/p/anal_ppc_cs.c index e591dc7249..a8396e35c0 100644 --- a/libr/anal/p/anal_ppc_cs.c +++ b/libr/anal/p/anal_ppc_cs.c @@ -524,7 +524,7 @@ static int analop_vle(RAnal *a, RAnalOp *op, ut64 addr, const ut8 *buf, int len) case R_ANAL_OP_TYPE_XOR: break; default: - eprintf ("Missing R_ANAL_OP_TYPE (0x%X)\n", op->type); + eprintf ("Missing an R_ANAL_OP_TYPE"); break; } vle_free (instr); diff --git a/libr/asm/arch/ppc/libvle/vle.c b/libr/asm/arch/ppc/libvle/vle.c index 385b817ada..67cee73fa3 100644 --- a/libr/asm/arch/ppc/libvle/vle.c +++ b/libr/asm/arch/ppc/libvle/vle.c @@ -639,6 +639,7 @@ static void set_ppc_fields(vle_t * v, const ppc_t* p, ut32 data) { v->fields[2].value = (data & 0xF800) >> 11; v->fields[2].type = p->types[2]; } + break; case F_DCI: { v->n = 1; @@ -847,4 +848,4 @@ void vle_snprint(char* str, int size, ut64 addr, vle_t* instr) { add += snprintf (str + add, bufsize - add, " cr%u", instr->fields[i].value); } } -} \ No newline at end of file +}