Skip to content

Commit

Permalink
Fix typos in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
caikelun committed Oct 11, 2023
1 parent c316186 commit b2537df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ In these cases where "the version of the hooked ELF file is known and controllab
```C
void *orig;
void *func = get_hidden_func_addr();
void *stub = shadowhook_hook_sym_addr(func, my_func, &orig);
void *stub = shadowhook_hook_func_addr(func, my_func, &orig);
if(stub == NULL)
{
int error_num = shadowhook_get_errno();
Expand Down
2 changes: 1 addition & 1 deletion doc/manual.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ void *shadowhook_hook_func_addr(void *func_addr, void *new_addr, void **orig_add
```C
void *orig;
void *func = get_hidden_func_addr();
void *stub = shadowhook_hook_sym_addr(func, my_func, &orig);
void *stub = shadowhook_hook_func_addr(func, my_func, &orig);
if(stub == NULL)
{
int error_num = shadowhook_get_errno();
Expand Down

0 comments on commit b2537df

Please sign in to comment.