- state->opt->id = talloc_asprintf(state->opt, "%s#%s",
- dev->id, value);
- state->opt->name = talloc_strdup(state->opt, value);
+ opt->option->id = talloc_asprintf(opt->option,
+ "%s#%s", dev->id, value);
+ opt->option->name = talloc_strdup(opt->option, value);