Using the error reporting framework

This commit is contained in:
Pierre Pronchery 2008-06-06 02:05:19 +00:00
parent 5d3580bdee
commit 220a4e1354

View File

@ -223,7 +223,7 @@ static int _configure_load(Prefs * prefs, String const * directory,
if(prefs->flags & PREFS_v)
printf("%s%s%s", "Loading project file ", path, "\n");
if(config_load(config, path) != 0)
ret = configure_error(path, 1);
ret = error_print(PACKAGE);
else
{
array_append(ca, &config);