1
0
mirror of https://github.com/pumpitupdev/pumptools.git synced 2024-11-27 16:10:55 +01:00
This commit is contained in:
icex2 2021-01-23 23:45:57 +01:00
parent abbee9291b
commit e21a9638a2
3 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@ static void prihook_bootstrapping(int argc, char** argv, struct prihook_options*
return;
}
hook_core_piu_log_init(argc, argv);
// hook_core_piu_log_init(argc, argv);
if (!prihook_options_init(argc, argv, options)) {
exit(0);

View File

@ -150,6 +150,8 @@ bool prihook_options_init(int argc, char** argv, struct prihook_options* options
struct util_options_opts* options_opt;
log_warn("!!!! %d", prihook_options_defs.ndefs);
util_options_init(argc, argv);
options_opt = util_options_get(&prihook_options_defs);

View File

@ -318,6 +318,8 @@ static struct util_options_opts* util_options_get2(
options->defs = option_defs;
options->entries = option_defs->ndefs;
log_warn(">>>> %d", option_defs->ndefs);
options->values = (struct util_options_value*) util_xmalloc(
sizeof(struct util_options_value) * options->entries);