aboutsummaryrefslogtreecommitdiff
path: root/lib/hook-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hook-functions.c')
-rw-r--r--lib/hook-functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hook-functions.c b/lib/hook-functions.c
index 673d6d9..ee3d049 100644
--- a/lib/hook-functions.c
+++ b/lib/hook-functions.c
@@ -213,8 +213,8 @@ int substitute_hook_functions(const struct substitute_function_hook *hooks,
/* Generate the rewritten start of the function for the outro
* trampoline (complaining if any bad instructions are found)
- * (on arm64, this modifies regs_possibly_written, which is used by the
- * ending make_jump_patch call) */
+ * (on arm64, this modifies arch.regs_possibly_written, which is used
+ * by the later make_jump_patch call) */
if ((ret = transform_dis_main(code, &trampoline_ptr, pc_patch_start,
&pc_patch_end, (uintptr_t) trampoline_ptr,
&arch, hi->offset_by_pcdiff,