diff --git a/parser/parser_main.c b/parser/parser_main.c index f67187620..dbf353d28 100644 --- a/parser/parser_main.c +++ b/parser/parser_main.c @@ -1141,8 +1141,10 @@ int main(int argc, char *argv[]) void *data); struct dir_cb_data cb_data; + memset(&cb_data, 0, sizeof(struct dir_cb_data)); cb_data.dirname = profilename; cb_data.cachedir = cacheloc; + cb_data.kernel_interface = kernel_interface; cb = binary_input ? binary_dir_cb : profile_dir_cb; if ((retval = dirat_for_each(AT_FDCWD, profilename, &cb_data, cb))) {