Skip to content

Commit c73ea8e

Browse files
authored
Update ftrace_utils.c
1 parent 8ce4393 commit c73ea8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/ftrace_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int fh_install_hook(struct ftrace_hook *hook) {
4141
return err;
4242
}
4343

44-
hook->ops.func = fh_ftrace_thunk;
44+
hook->ops.func = (ftrace_func_t)fh_ftrace_thunk;
4545
hook->ops.flags = FTRACE_OPS_FL_SAVE_REGS
4646
| FTRACE_OPS_FL_RECURSION_SAFE
4747
| FTRACE_OPS_FL_IPMODIFY;

0 commit comments

Comments
 (0)