summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2006-11-06 15:31:22 +0000
committerfche <fche>2006-11-06 15:31:22 +0000
commita90b629e6fe7420caeb0f7494f712c9664afbdc8 (patch)
tree35d4ce96ae75c2729dc675712c43f47e5cb7d0e2
parente664cf5b5c1d7d75aabacbd8eb84669bc96af5d5 (diff)
downloadsystemtap-steved-a90b629e6fe7420caeb0f7494f712c9664afbdc8.tar.gz
systemtap-steved-a90b629e6fe7420caeb0f7494f712c9664afbdc8.tar.xz
systemtap-steved-a90b629e6fe7420caeb0f7494f712c9664afbdc8.zip
* a question for hunt
-rw-r--r--runtime/sym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 5f2cfc2c..2a823ca9 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -40,7 +40,7 @@ static unsigned long _stp_module_relocate (const char *module, const char *secti
}
/* need to scan all modules */
- for (i = 1; i < _stp_num_modules; i++) {
+ for (i = 1; i < _stp_num_modules; i++) { /* XXX: why start at i=1? */
last = _stp_modules[i];
if (strcmp(module, last->name))
continue;