diff --git a/src/flb_fstore.c b/src/flb_fstore.c index 40980986d75..03bcc99dba6 100644 --- a/src/flb_fstore.c +++ b/src/flb_fstore.c @@ -461,6 +461,8 @@ struct flb_fstore *flb_fstore_create(char *path, int store_type) flags = CIO_OPEN; /* Create Chunk I/O context */ + cio_options_init(&opts); + opts.root_path = path; opts.log_cb = log_cb; opts.flags = flags;