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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hook-functions.c b/lib/hook-functions.c
index cc8bd3e..9d34400 100644
--- a/lib/hook-functions.c
+++ b/lib/hook-functions.c
@@ -245,7 +245,7 @@ int substitute_hook_functions(const struct substitute_function_hook *hooks,
if ((ret = apply_pc_patch_callback(stop_token, pc_callback, &info)))
goto end;
if (info.encountered_bad_pc) {
- ret = SUBSTITURE_ERR_UNEXPECTED_PC_ON_OTHER_THREAD;
+ ret = SUBSTITUTE_ERR_UNEXPECTED_PC_ON_OTHER_THREAD;
goto end;
}
}