X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_decoder.c;h=a2f260c686069463f3f621f7c97ef2254988ac2a;hb=5d67a000f2d9e0043237af7c86eecd034119fe93;hp=ca52e8af4f27ae7dcff89bb225a098a744d03b3e;hpb=25ee48a048fa16a385d909176df04cff80263d32;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index ca52e8a..a2f260c 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -192,7 +192,7 @@ static const ullong_t mask_8 = 0xffffffffffffffffLL; void v3_print_instr(struct x86_instr * instr) { V3_Print("Instr: %s (Len: %d)\n", op_type_to_str(instr->op_type), instr->instr_length); - V3_Print("Prefixes= %x\n", *(uint32_t *)&(instr->prefixes)); + V3_Print("Prefixes= %x\n", instr->prefixes.val); if (instr->is_str_op) { V3_Print("String OP (len=%d)\n", (uint32_t)instr->str_op_length);