X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_decoder.c;h=1783ca18fdccaa8e68e3d5b80a718be90394672b;hb=3db6f4c76bd6412d0154b7693c1516d792486b13;hp=67e96ae511415cbd14f8a78cc3cc1fdf4f6dec9f;hpb=603e4c1a451138080ded3d4e3cd3b8716741db89;p=palacios.releases.git diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index 67e96ae..1783ca1 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -193,7 +193,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);