[numex] using module init method for building, otherwise passing NULL path uses the default path

This commit is contained in:
Al
2015-09-16 21:13:05 -04:00
parent 3cba2e8df3
commit b11362ab98
3 changed files with 9 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ int main(int argc, char **argv) {
exit(1);
}
if (!numex_module_setup(NULL)) {
if (!numex_module_init()) {
log_error("Numex table initialization unsuccessful\n");
numex_module_teardown();
exit(1);