about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-01-12 18:42:47 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-01-12 18:42:47 +0100
commit3ab7648384afdc0a8ebe893347286bee2ff2f850 (patch)
tree2c8795685fb0b52bddb26c2ae0229f1720ac3976 /src/wrapped
parent9fb84e3ef26982b98630aca60d439734185d1bf8 (diff)
downloadbox64-3ab7648384afdc0a8ebe893347286bee2ff2f850.tar.gz
box64-3ab7648384afdc0a8ebe893347286bee2ff2f850.zip
[TRACE] Better trace for wrapped dladdr1 calls
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/wrappedlibdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c
index 217ae012..ac803569 100644
--- a/src/wrapped/wrappedlibdl.c
+++ b/src/wrapped/wrappedlibdl.c
@@ -423,7 +423,7 @@ int my_dladdr1(x64emu_t* emu, void *addr, void *i, void** extra_info, int flags)
     if(flags==RTLD_DL_SYMENT) {
         printf_log(LOG_INFO, "Warning, unimplement call to dladdr1 with RTLD_DL_SYMENT flags\n");
     } else if (flags==RTLD_DL_LINKMAP) {
-        printf_log(LOG_INFO, "Warning, partially unimplemented call to dladdr1 with RTLD_DL_LINKMAP flags\n");
+        printf_log(LOG_INFO, "Warning, partially unimplemented call to dladdr1 with RTLD_DL_LINKMAP flags for %s\n", lib?lib->name:"current process");
         *(linkmap_t**)extra_info = getLinkMapLib(lib);
     }
     return (info->dli_sname)?1:0;   // success is non-null here...