diff options
Diffstat (limited to 'src/appconfig.c')
-rw-r--r--[-rwxr-xr-x] | src/appconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appconfig.c b/src/appconfig.c index 49eca90f0..73b946508 100755..100644 --- a/src/appconfig.c +++ b/src/appconfig.c @@ -188,7 +188,7 @@ int load_config(char *filename, int overwrite_used) if(!filename) filename = CONFIG_DIR "/" CONFIG_FILENAME; FILE *fp = fopen(filename, "r"); if(!fp) { - error("Cannot open file '%s'", CONFIG_DIR "/" CONFIG_FILENAME); + error("Cannot open file '%s'", filename); return 0; } @@ -216,7 +216,7 @@ int load_config(char *filename, int overwrite_used) if(!co) { // line outside a section - error("Ignoring line %d ('%s'), it is outsize all sections.", line, s); + error("Ignoring line %d ('%s'), it is outside all sections.", line, s); continue; } |