From e1a8e8d82d16237d9be0d544b1e61eb1e9d7506f Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 10 Jul 2022 10:56:12 +0200 Subject: Small change in one of dlsym_error log --- src/wrapped/wrappedlibdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) { -- cgit 1.4.1