about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-07-10 10:56:12 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-07-10 10:56:12 +0200
commite1a8e8d82d16237d9be0d544b1e61eb1e9d7506f (patch)
treeb6d1ac894dc0e4133d696842fa9fc021955fabf2 /src
parent4ae714089d11d9639b5afddfb33425cce0be787f (diff)
downloadbox64-e1a8e8d82d16237d9be0d544b1e61eb1e9d7506f.tar.gz
box64-e1a8e8d82d16237d9be0d544b1e61eb1e9d7506f.zip
Small change in one of dlsym_error log
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c
index fa134215..894eca69 100755
--- a/src/wrapped/wrappedlibdl.c
+++ b/src/wrapped/wrappedlibdl.c
@@ -355,7 +355,7 @@ void* my_dlvsym(x64emu_t* emu, void *handle, void *symbol, const char *vername)
     uintptr_t start, end;
     char* rsymbol = (char*)symbol;
     CLEARERR
-    printf_dlsym(LOG_DEBUG, "Call to dlvsym(%p, \"%s\", %s)\n", handle, rsymbol, vername?vername:"(nil)");
+    printf_dlsym(LOG_DEBUG, "Call to dlvsym(%p, \"%s\", %s)%s", handle, rsymbol, vername?vername:"(nil)", dlsym_error?"":"\n");
     if(handle==NULL) {
         // special case, look globably
         if(GetGlobalSymbolStartEnd(emu->context->maplib, rsymbol, &start, &end, NULL, version, vername)) {