Minor fix

This commit is contained in:
Nikita Ivanov 2022-07-24 23:50:49 +05:00
parent 37b1549f79
commit 2f94ff15af
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -75,7 +75,7 @@ static int get_config_file(char *buf, size_t len)
static int config(int prevs)
{
char config_file[FILENAME_MAX];
get_config_file(config_file, LEN(config_file));
ERRCHK_RET_OK(get_config_file(config_file, LEN(config_file)));
ERRCHK_RET_OK(config_load(&parser, prevs ? previews : NULL, config_file));