diff --git a/src/config_format/flb_cf_yaml.c b/src/config_format/flb_cf_yaml.c index 609f9b7aafd..c2b0d50efec 100644 --- a/src/config_format/flb_cf_yaml.c +++ b/src/config_format/flb_cf_yaml.c @@ -2767,8 +2767,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