# HG changeset patch # User Binki # Date 2009-04-07 22:37:07 # Node ID b9009b47f2137bb42504088c0daeb9b0a50f07d6 # Parent f981ae9f06e551901ede429b1d210e0910f9333a added file not found error msg diff --git a/src/common/options.c b/src/common/options.c --- a/src/common/options.c +++ b/src/common/options.c @@ -47,6 +47,9 @@ int options_init(int argc, char *argv[], default: fprintf(stderr, "cfg_parse returned an unknown error code\n"); case CFG_FILE_ERROR: + cfg_error(cfg, "Couldn't open file ``%s''\n", configfile); + /* no break; on purpose */ + case CFG_PARSE_ERROR: return 1;