aboutsummaryrefslogtreecommitdiff
path: root/src/lib/rmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rmodule.c')
-rw-r--r--src/lib/rmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rmodule.c b/src/lib/rmodule.c
index 828a63d913..d7c2326f12 100644
--- a/src/lib/rmodule.c
+++ b/src/lib/rmodule.c
@@ -162,7 +162,7 @@ static int rmodule_relocate(const struct rmodule *module)
adjust_loc = rmodule_load_addr(module, *reloc);
printk(PK_ADJ_LEVEL, "Adjusting %p: 0x%08lx -> 0x%08lx\n",
adjust_loc, (unsigned long) *adjust_loc,
- (unsigned long) *adjust_loc + adjustment);
+ (unsigned long) (*adjust_loc + adjustment));
*adjust_loc += adjustment;
reloc++;