From 6d71b970d3c77d6d21857c86d9841f9b6c146edd Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sat, 29 Aug 2015 10:33:00 +0800 Subject: [PATCH] fix a constant in regress/ro_mem_test.c --- regress/ro_mem_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/ro_mem_test.c b/regress/ro_mem_test.c index 38e84cd0..576cac01 100644 --- a/regress/ro_mem_test.c +++ b/regress/ro_mem_test.c @@ -82,7 +82,7 @@ static bool hook_mem_invalid(uch handle, uc_mem_type type, printf(">>> Missing memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n", address, size, value); return false; - case UC_MEM_WRITE_NR: + case UC_MEM_WRITE_NW: printf(">>> RO memory is being WRITTEN at 0x%"PRIx64 ", data size = %u, data value = 0x%"PRIx64 "\n", address, size, value); return false;