fix debug message

This commit is contained in:
rofl0r 2012-04-23 22:56:44 +02:00
parent 88a54e872a
commit bc23ef8f46

View File

@ -71,7 +71,7 @@ static void load_sym(void** funcptr, char* symname, void* proxyfunc) {
fprintf(stderr, "Cannot load symbol '%s' %s\n", symname, dlerror());
exit(1);
} else {
PDEBUG("loaded symbol 'connect'" " real addr %p wrapped addr %p\n", (*funcptr), proxyfunc);
PDEBUG("loaded symbol '%s'" " real addr %p wrapped addr %p\n", symname, (*funcptr), proxyfunc);
}
if((*funcptr) == proxyfunc) {
PDEBUG("circular reference detected, aborting!\n");