diff --git a/src/config_format/flb_cf_yaml.c b/src/config_format/flb_cf_yaml.c index 6581692a422..acf2efeb6df 100644 --- a/src/config_format/flb_cf_yaml.c +++ b/src/config_format/flb_cf_yaml.c @@ -1903,8 +1903,8 @@ static struct parser_state *state_create(struct file_state *parent, struct file_ #else - s->file->name = flb_sds_create("***static***"); - s->file->path = flb_sds_create("***static***"); + state->file->name = flb_sds_create("***static***"); + state->file->path = flb_sds_create("***static***"); #endif