diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-12-29 09:10:00 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-12-29 09:10:00 +0100 |
commit | ebe6d4ebd25b50589b263b6ca2a02d53ae68b6fa (patch) | |
tree | 4cd0913e46888f942f8325293e806b19a99c2180 /runtime | |
parent | cdfb371b6d8ad1ba4dd5bef76dbe3739c4debedc (diff) | |
download | systemtap-steved-ebe6d4ebd25b50589b263b6ca2a02d53ae68b6fa.tar.gz systemtap-steved-ebe6d4ebd25b50589b263b6ca2a02d53ae68b6fa.tar.xz systemtap-steved-ebe6d4ebd25b50589b263b6ca2a02d53ae68b6fa.zip |
Set last_tsk in runtime/sym.c _stp_module_relocate.
last_tsk was checked but never set. Noticed by Wenji Huang.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/sym.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |