Skip to content

Commit 3b002ae

Browse files
authored
Update kpm_hook_utils.h
1 parent 5c84a43 commit 3b002ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/kpm/include/kpm_hook_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
hook_original_def(func); \
2020
hook_backup_def(func); \
2121
hook_replace_func_include(func, retType, __VA_ARGS__); \
22-
static hook_err_t hook_##func##_err = HOOK_NOT_HOOK;
22+
static hook_err_t hook_##func##_err = HOOK_DUPLICATED;
2323

2424
#define find_and_hook_func_with(func, original, replace, backup, tag) \
2525
static inline bool hook_##func() \

0 commit comments

Comments
 (0)