From 8ae9ca7920537f3ee1e6826cbe475f7fa72d3fe3 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 6 Jul 2010 22:16:31 +0200 Subject: [PATCH] Make -DDEBUG_SYMBOLS compile again. * runtime/sym.c (_stp_umod_lookup): Use m->path and *vm_start in dbug_sym. --- runtime/sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/sym.c b/runtime/sym.c index 39e68830e..625392076 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -145,7 +145,7 @@ static struct _stp_module *_stp_umod_lookup(unsigned long addr, if (user != NULL) { struct _stp_module *m = (struct _stp_module *)user; - dbug_sym(1, "found module %s at 0x%lx\n", dentry->dname.name, vm_start); + dbug_sym(1, "found module %s at 0x%lx\n", m->path, *vm_start); return m; } return NULL; -- 2.43.5