diff options
author | Valeriy <jazzvoid@gmail.com> | 2016-03-29 18:37:58 +0300 |
---|---|---|
committer | Valeriy <jazzvoid@gmail.com> | 2016-03-29 18:37:58 +0300 |
commit | f7e35af6cdd5a820833bae3db41f340c175c4565 (patch) | |
tree | 1cfd902bf9c6d59967b458c976b3c092b31c78f5 /src/appconfig.c | |
parent | e9d65970c3120154dd952c53a258a8c2c4a70163 (diff) |
fix misleading error messages and command line arguments
Diffstat (limited to 'src/appconfig.c')
-rwxr-xr-x | src/appconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appconfig.c b/src/appconfig.c index 49eca90f0b..86c229372d 100755 --- 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; } |