Another typo

This commit is contained in:
Adrian Herrera
2016-03-22 23:09:38 +11:00
parent be73f9b30f
commit 903fb04f29

View File

@ -850,7 +850,7 @@ static void test_x86_16(void)
uc_mem_map(uc, 0, 8 * 1024, UC_PROT_ALL); uc_mem_map(uc, 0, 8 * 1024, UC_PROT_ALL);
// write machine code to be emulated to memory // write machine code to be emulated to memory
if (uc_mem_write(uc, 0, X86_CODE16, sizeof(X86_CODE64) - 1)) { if (uc_mem_write(uc, 0, X86_CODE16, sizeof(X86_CODE16) - 1)) {
printf("Failed to write emulation code to memory, quit!\n"); printf("Failed to write emulation code to memory, quit!\n");
return; return;
} }