From ebe6d4ebd25b50589b263b6ca2a02d53ae68b6fa Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 29 Dec 2009 09:10:00 +0100 Subject: Set last_tsk in runtime/sym.c _stp_module_relocate. last_tsk was checked but never set. Noticed by Wenji Huang. --- runtime/sym.c | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime') diff --git a/runtime/sym.c b/runtime/sym.c index 06691dc9..c72d930c 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -127,6 +127,7 @@ static unsigned long _stp_module_relocate(const char *module, } } + last_tsk = tsk; for (i = 0; i < _stp_num_modules; i++) { last = _stp_modules[i]; if (strcmp(module, last->name)) -- cgit