]> sourceware.org Git - systemtap.git/commitdiff
Set last_tsk in runtime/sym.c _stp_module_relocate.
authorMark Wielaard <mjw@redhat.com>
Tue, 29 Dec 2009 08:10:00 +0000 (09:10 +0100)
committerMark Wielaard <mjw@redhat.com>
Tue, 29 Dec 2009 08:10:00 +0000 (09:10 +0100)
last_tsk was checked but never set. Noticed by Wenji Huang.

runtime/sym.c

index 06691dc955eb9c73675050d11a8adf8b3c38388d..c72d930ca309f11d5a69cbadcd5f2a467389c287 100644 (file)
@@ -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))
This page took 0.298693 seconds and 5 git commands to generate.