mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 05:31:11 +00:00
Merge pull request #193 from gm4tr1x/fixLoaderMacro
Fixed HC_LOAD_FUNC macro
This commit is contained in:
commit
a04597a274
@ -64,10 +64,10 @@
|
|||||||
ptr->name = (type) hc_dlsym (ptr->lib, #name); \
|
ptr->name = (type) hc_dlsym (ptr->lib, #name); \
|
||||||
if (!ptr->name) { \
|
if (!ptr->name) { \
|
||||||
if (noerr == 1) { \
|
if (noerr == 1) { \
|
||||||
log_error ("ERROR: #name is missing from #libname shared library."); \
|
log_error ("ERROR: %s is missing from %s shared library.", #name, #libname); \
|
||||||
exit (-1); \
|
exit (-1); \
|
||||||
} else { \
|
} else { \
|
||||||
log_info ("WARNING: #name is missing from #libname shared library."); \
|
log_info ("WARNING: %s is missing from %s shared library.", #name, #libname); \
|
||||||
return (-1); \
|
return (-1); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user