summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 1e9de765..1a18f95b 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -25,7 +25,7 @@ static unsigned long _stp_module_relocate (const char *module, const char *secti
static struct _stp_symbol *last_sec;
unsigned long flags;
int i,j;
-
+ printk("_stp_relocate_module: %s, %s, %lx\n", module, section, offset);
STP_LOCK_MODULES;
if (! module || _stp_num_modules == 0) {
STP_UNLOCK_MODULES;
@@ -44,7 +44,7 @@ static unsigned long _stp_module_relocate (const char *module, const char *secti
last = _stp_modules[i];
if (strcmp(module, last->name))
continue;
- for (j = 0; j < last->num_sections; j++) {
+ for (j = 0; j < (int)last->num_sections; j++) {
last_sec = &last->sections[j];
if (!strcmp (section, last_sec->symbol)) {
STP_UNLOCK_MODULES;