aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc/main.c')
-rw-r--r--src/blogc/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/blogc/main.c b/src/blogc/main.c
index 8563c68..beb67d6 100644
--- a/src/blogc/main.c
+++ b/src/blogc/main.c
@@ -26,7 +26,6 @@
#include "template-parser.h"
#include "loader.h"
#include "renderer.h"
-#include "errors.h"
#include "../common/error.h"
#include "../common/utf8.h"
#include "../common/utils.h"
@@ -224,7 +223,7 @@ main(int argc, char **argv)
bc_slist_t *s = blogc_source_parse_from_files(config, sources, &err);
if (err != NULL) {
- blogc_error_print(err);
+ bc_error_print(err);
rv = 2;
goto cleanup2;
}
@@ -251,7 +250,7 @@ main(int argc, char **argv)
bc_slist_t* l = blogc_template_parse_from_file(template, &err);
if (err != NULL) {
- blogc_error_print(err);
+ bc_error_print(err);
rv = 2;
goto cleanup3;
}