1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-16 17:42:04 +00:00

Fixed HC_LOAD_FUNC macro

This commit is contained in:
Gabriele 'matrix' Gristina 2016-02-01 13:07:14 +01:00
parent b8285cbce2
commit 0f159d42e6

View File

@ -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); \
} \ } \
} }