Skip to content
Snippets Groups Projects
Commit 8204164b authored by Lucas Magalhães's avatar Lucas Magalhães
Browse files

Fix "Module load not found"

We separated require_priv in functions but by that we broke the sizeof()
resolution.  If you pass a pointer to a function and call sizeof() on that
it will return the size of the pointer type itself instead of the stack
allocated size.  This change fixes it by using the allocated size
instead of calling sizeof().  Although magic numbers should not be used
PATH_MAX makes sense as we are handling PATHS.
parent 7509dda1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment