Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error line in example code in readme.md #35

Open
luduoduo opened this issue Nov 3, 2016 · 1 comment
Open

An error line in example code in readme.md #35

luduoduo opened this issue Nov 3, 2016 · 1 comment

Comments

@luduoduo
Copy link

luduoduo commented Nov 3, 2016

Hi,
I found there is an error line in the example code, that "void *" should be "void **",
rebind_symbols((struct rebinding[2]){{"close", my_close, (void *)&orig_close}, {"open", my_open, (void *)&orig_open}}, 2);

-->
rebind_symbols((struct rebinding[2]){{"close", my_close, (void **)&orig_close}, {"open", my_open, (void **)&orig_open}}, 2);

hope it would be useful for new comer.

@grp
Copy link
Contributor

grp commented Nov 3, 2016

Nice find! Want to send a pull request and fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants