Skip to content

Commit b2537df

Browse files
committed
Fix typos in documentation.
1 parent c316186 commit b2537df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ In these cases where "the version of the hooked ELF file is known and controllab
352352
```C
353353
void *orig;
354354
void *func = get_hidden_func_addr();
355-
void *stub = shadowhook_hook_sym_addr(func, my_func, &orig);
355+
void *stub = shadowhook_hook_func_addr(func, my_func, &orig);
356356
if(stub == NULL)
357357
{
358358
int error_num = shadowhook_get_errno();

doc/manual.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ void *shadowhook_hook_func_addr(void *func_addr, void *new_addr, void **orig_add
351351
```C
352352
void *orig;
353353
void *func = get_hidden_func_addr();
354-
void *stub = shadowhook_hook_sym_addr(func, my_func, &orig);
354+
void *stub = shadowhook_hook_func_addr(func, my_func, &orig);
355355
if(stub == NULL)
356356
{
357357
int error_num = shadowhook_get_errno();

0 commit comments

Comments
 (0)