aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/cddl/dev/fbt/fbt_powerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/dev/fbt/fbt_powerpc.c b/sys/cddl/dev/fbt/fbt_powerpc.c
index cdaa06a420a6..67062820518d 100644
--- a/sys/cddl/dev/fbt/fbt_powerpc.c
+++ b/sys/cddl/dev/fbt/fbt_powerpc.c
@@ -219,7 +219,7 @@ fbt_provide_module_function(linker_file_t lf, int symindx,
return (0);
instr = (u_int32_t *) symval->value;
- limit = (u_int32_t *) symval->value + symval->size;
+ limit = (u_int32_t *) (symval->value + symval->size);
for (; instr < limit; instr++)
if (*instr == FBT_MFLR_R0)