From 04e960b0dabc7f8bf77d532b57c1156ff10e2735 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 17 May 2024 10:49:53 +0200 Subject: [TARCE] Better trace for neverclean mmaps --- src/wrapped/wrappedlibc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index 64fe5bb3..9e8ba194 100644 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -2865,7 +2865,7 @@ EXPORT void* my_mmap64(x64emu_t* emu, void *addr, unsigned long length, int prot if((flags&MAP_SHARED) && (fd>0)) { uint32_t flags = fcntl(fd, F_GETFL); if((flags&O_ACCMODE)==O_RDWR) { - if((box64_log>=LOG_DEBUG || box64_dynarec_log>=LOG_DEBUG)) {printf_log(LOG_NONE, "Note: Marking the region as NEVERCLEAN because fd have O_RDWR attribute\n");} + if((box64_log>=LOG_DEBUG || box64_dynarec_log>=LOG_DEBUG)) {printf_log(LOG_NONE, "Note: Marking the region (%p-%p prot=%x) as NEVERCLEAN because fd have O_RDWR attribute\n", ret, ret+length, prot);} prot |= PROT_NEVERCLEAN; } } -- cgit 1.4.1