summaryrefslogtreecommitdiffhomepage
path: root/src/hook.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-31 16:02:10 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-08-10 22:40:52 +0100
commit5e921bf59373d79d27c322ff86e8b5a37b151e45 (patch)
tree4d40e39543b085ce4c8cb9b1a7b3c0108de680c0 /src/hook.c
parentc8d7588251fd4fe63ac6afe2a90ca7066c786609 (diff)
Add magical feature codegen system, at long last
Diffstat (limited to 'src/hook.c')
-rw-r--r--src/hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hook.c b/src/hook.c
index 8465fbe..eacac4a 100644
--- a/src/hook.c
+++ b/src/hook.c
@@ -57,7 +57,7 @@ void *hook_inline(void *func_, void *target) {
// FIXME: these cases may result in somewhat dodgy error messaging. They
// shouldn't happen anyway though. Maybe if we're confident we just
// compile 'em out of release builds some day, but that sounds a little
- // scary. For now prefering confusing messages over crashes, I guess.
+ // scary. For now preferring confusing messages over crashes, I guess.
if (func[len] == X86_CALL) {
con_warn("hook_inline: can't trampoline call instructions\n");
return 0;