default value isn't used when path doesn't exist

This commit is contained in:
Pierre-Louis Bonicoli 2018-03-21 11:32:46 +01:00
parent 13b2e37635
commit 7834471f78
Signed by: pilou
GPG Key ID: ADC2651DDACD3538
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ char *default_path(const char *biphome, const char *filename, const char *desc)
strcpy(conf_file, biphome);
conf_file[strlen(biphome)] = '/';
strcat(conf_file, filename);
mylog(LOG_INFO, "Using default %s: %s", desc, conf_file);
mylog(LOG_INFO, "Default %s: %s", desc, conf_file);
return conf_file;
}